Name:

integral computes an interval bounding the integral of a function on an interval.

Library name:

sollya_obj_t sollya_lib_integral(sollya_obj_t, sollya_obj_t)

Usage:

integral(f,I) : (function, range) -> range

Parameters:

Description:

Example 1:

   > sin(10);
   -0.54402111088936981340474766185137728168364301291622
   > integral(cos(x),[0;10]);
   [-0.54710197983579690224097637163525943075698599257333;-0.54094015130013183848150540881373370744053741191729]
   > diam=1e-5!;
   > integral(cos(x),[0;10]);
   [-0.54432915685955427101857780295936956775293876382777;-0.54371306401249969508039644221927489010425803173555]
See also: diam, dirtyintegral, prec
Go back to the list of commands