Hi,
There are a couple of things to say here. First I think you have
confused when you give boundaries via x or via z. After substitution,
the integrand becomes sqrt(z)/sqrt(1-z**2), so let's discuss this. Then
we have:
In [26]: i = Integral(sqrt(z)/sqrt(1-z**2), (z, 0.3, 0.4))
In [29]:
A first start:
http://github.com/sympy/sympy/pull/1408
--
You received this message because you are subscribed to the Google Groups
sympy group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sympy/-/vkHPwsB_yYAJ.
To post to this group, send email to
It does work. Sorry that I made a mistake.
On Saturday, July 7, 2012 6:30:26 AM UTC-4, rl wrote:
A first start:
http://github.com/sympy/sympy/pull/1408
--
You received this message because you are subscribed to the Google Groups
sympy group.
To view this discussion on the web visit
The answer seems to be wrong.
I do the following to numerically integral evaluation:
import numpy as np
import scipy as sp
import scipy.integrate
f=lambda x:np.sqrt(np.sin(x))
sp.integrate.quad(f,0.6,0.7)
get the following value:
0.07776347731181982
which matches with mathematica.
whereas
By answer wrong I mean the answer given by sympy,
On Friday, July 6, 2012 10:06:57 PM UTC-4, pallab wrote:
The answer seems to be wrong.
I do the following to numerically integral evaluation:
import numpy as np
import scipy as sp
import scipy.integrate
f=lambda x:np.sqrt(np.sin(x))