| 1 | initial version |
Using a lambda function also works:
sage: integral_numerical(lambda x: bessel_I(0, x), (0, 1))
(1.0865210970235897, 1.206280738656573e-14)
Besides numerical integration, lambda functions are often helpful for plotting.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.