Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to do numerical integral where the answer still have variables in it?

I type in

"numerical_integral(lambda d:exp(-(h-1)^2-(d-2)^2), 0,Infinity)"

and got

"unable to simplify to float approximation"

Are there anyway to compute the integral numerically and still leave a variable in the answer? Thanks,

How to do numerical integral where the answer still have variables in it?

I type typed in

"numerical_integral(lambda d:exp(-(h-1)^2-(d-2)^2), 0,Infinity)"

and got

"unable to simplify to float approximation"

Are there anyway to compute the integral numerically and still leave a variable in the answer? Thanks,