Why can't doesn't the following produce a numerical result?

(71) -> eval(integrate(x*exp(-(x-u)^2/2)/(sqrt(2*%pi)), 
x=a..%plusInfinity), [a=1,u=0.5])

   (71)  - 0.25 erf(0.3535533905_932737622) + 0.6020653267_6429947778
                                                      Type: 
Expression(Float)
(72) -> eval(integrate(x*exp(-(x-u)^2/2)/(sqrt(2*%pi)), 
x=a..%plusInfinity), [a=1,u=0.5])::Float

   Cannot convert the value from type Expression(Float) to Float .


If I type the expression in manually, it works:



(72) -> -0.25*erf(0.3535533905_932737622) + 0.6020653267_6429947778

   (72)  0.5063340961_2729292596
                                                                  Type: 
Float


-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to