Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

numerically integrating an expression containing 'i'

This is example of an integral that can't be evaluated using

sage: numerical_integral(i*sin(i*x), x, 0, 0.2)


Traceback (click to the left of this block for traceback)
...
TypeError: unable to coerce to a real number

even though the integrand is real (in disguse). How can I get around this problem?