Re: [sympy] can not do integral of sqrt(sin(x))

2012-07-07 Thread Joachim Durchholz
Am 07.07.2012 01:18, schrieb Aaron Meurer: According to http://en.wikipedia.org/wiki/Elliptic_integral, every elliptic integral can be reduced to an expression containing only the three Legendre canonical forms. So I wonder if that is algorithmic. The article says you need to find the "appropr

Re: [sympy] can not do integral of sqrt(sin(x))

2012-07-06 Thread Aaron Meurer
According to http://en.wikipedia.org/wiki/Elliptic_integral, every elliptic integral can be reduced to an expression containing only the three Legendre canonical forms. So I wonder if that is algorithmic. Aaron Meurer On Fri, Jul 6, 2012 at 4:08 PM, Aaron Meurer wrote: > But if Pallab's answer

Re: [sympy] can not do integral of sqrt(sin(x))

2012-07-06 Thread Aaron Meurer
But if Pallab's answer is correct, then it can be, right, at least for this specific one? Aaron Meurer On Fri, Jul 6, 2012 at 3:03 PM, rl wrote: > The problem I see is *how* to add these to the integration routines. > There is no nice Meijer-G representation. And I suppose that Risch > can not h

Re: [sympy] can not do integral of sqrt(sin(x))

2012-07-06 Thread rl
The problem I see is *how* to add these to the integration routines. There is no nice Meijer-G representation. And I suppose that Risch can not handle these. At least not w/o major extensions. -- You received this message because you are subscribed to the Google Groups "sympy" group. To view thi

Re: [sympy] can not do integral of sqrt(sin(x))

2012-07-06 Thread Aaron Meurer
WolframAlpha gives an answer in terms of an elliptic integral: http://www.wolframalpha.com/input/?i=integrate(sqrt(sin(x)),%20x) So I imagine that if we added those that we would be able to compute this. Aaron Meurer On Fri, Jul 6, 2012 at 10:00 AM, pallab wrote: > > > It seems sympy can not i

[sympy] can not do integral of sqrt(sin(x))

2012-07-06 Thread pallab
It seems sympy can not integrate sqrt(sin(x)). I did the following: import sympy as sm from sympy.abc import x,y,z tointegrate=sm.sqrt(sm.sin(y)) sm.integrate(tointegrate) output is : Integral(sqrt(sin(y)), y) After a simple change of variable the integral is doable: def ytoz(z): return