Name:

dirtyintegral computes a numerical approximation of the integral of a function on an interval.

Library name:

sollya_obj_t sollya_lib_dirtyintegral(sollya_obj_t, sollya_obj_t)

Usage:

dirtyintegral(f,I) : (function, range) -> constant

Parameters:

Description:

Example 1:

   > sin(10);
   -0.54402111088936981340474766185137728168364301291621
   > dirtyintegral(cos(x),[0;10]);
   -0.54400304905152629822448058882475382036536298356281
   > points=2000!;
   > dirtyintegral(cos(x),[0;10]);
   -0.54401997751158321972222697312583199035995837926892
See also: prec, points, integral
Go back to the list of commands