Hi Dan, On 27 Aug., 15:29, Dan Aldrich <daldr...@earthlink.net> wrote: > Can the user control either to print an approximate value or an exact > value?
sage: r = integrate(e^((-x^2)), x, -3, 3) sage: r sqrt(pi)*erf(3) There is the "n" method (I suppose "n" refers to "numerical evaluation"): sage: r.n() 1.77241469651904 If you prefer functions: There is also an "n" function. sage: n(r) 1.77241469651904 You can also think of a field (say, the real or complex field) and evaluate the integral there: sage: RR(r) 1.77241469651904 or sage: CC(r) 1.77241469651904 Best regards, Simon -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org