ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 01 Sep 2010 09:20:26 +0200Numerical integration in a functionhttps://ask.sagemath.org/question/7660/numerical-integration-in-a-function/ f(x,y)=numerical_integral(1/d*2*x*y,.01,Infinity)[0]
Error
So what I want is to the integration wait until after the variables have been substituted so that it is able to numerically integrate. (Yes I need to numerically integrate. This is a simplified form that reproduces the same result.)
f(3,1)=numerical_integral(1/d*2*3*1,.01,Infinity)[0]
406.69135669845798
I thought there might be a way using a lambda defined function, but I was unable to find one.willmwadeWed, 01 Sep 2010 09:20:26 +0200https://ask.sagemath.org/question/7660/