[sage-edu] integration involving differential

2015-07-26 Thread sairam
Hi I am new bie to sagemath and trying to find the analytical integration for the above. I have used the following expressions in sagemath x, y, a, f = var('x,y,a,f') integrate(integr

Re: [sage-edu] integration involving differential

2015-07-26 Thread David Joyner
In the integrand below, is f simply a function of y or does it also depend on x? On Jul 26, 2015, at 04:25, sairam wrote: > > > > > Hi > > I am new bie to sagemath and trying to find the an

Re: [sage-edu] integration involving differential

2015-07-26 Thread sairam
Thank you very much for the reply. In the integration specified, f is a function of y When I use the following as suggested by you, x, y, a= var('x,y,a') f = function("f", y) integrate(integrate((diff(f,y))*(exp(-a*x^2)*cos(y)^2*sin(x)^3), x, 0, pi), y, -pi, pi) Sagemath is dumping an error

Re: [sage-edu] integration involving differential

2015-07-26 Thread David Joyner
On Mon, Jul 27, 2015 at 1:09 AM, sairam wrote: > Thank you very much for the reply. In the integration specified, f is a > function of y > > When I use the following as suggested by you, > > x, y, a= var('x,y,a') > f = function("f", y) > integrate(integrate((diff(f,y))*(exp(-a*x^2)*cos(y)^2*sin(