Hi All,

The following is a bug. Isn't it?

sage: f=sqrt(pi)^-1*exp(-x^2/2); f
e^(-1/2*x^2)/sqrt(pi)
sage: g=integral(f,(x,0,2)); g
1/2*sqrt(2)*erf(sqrt(2))
sage: n(g)
Traceback (most recent call last):
...
TypeError: cannot evaluate symbolic expression numerically
sage: h=1/2*sqrt(2)*erf(sqrt(2))
sage: n(h)
0.674933236039321

Apparently, there is no difference between g and h. Perhaps internal
representations are different...

Kwankyu

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe, reply using "remove me" as the subject.

Reply via email to