[sage-devel] Re: evaluating integrals

2009-04-17 Thread Michel
+1 I always wondered why this doesn't work. Forcing me to remember the syntax for a numerical integral... > %maxima > integrate(sqrt(x^3+1),x,2,10), float > /// > 'integrate((x^3+1)^0.5,x,2,10) > > It would be very nice to have this feature though! > >  -- William > > > > --~--~-~--~

[sage-devel] Re: evaluating integrals

2009-04-16 Thread William Stein
2009/4/16 Jason Grout : > > Ondrej Certik wrote: >> Hi, >> >> I would expect this to work: >> >> sage: e = integrate(sqrt(x**3+1), x, 2, 10) >> sage: e.n() >> --- >> TypeError                                 Traceback (most re

[sage-devel] Re: evaluating integrals

2009-04-16 Thread Jason Grout
Ondrej Certik wrote: > Hi, > > I would expect this to work: > > sage: e = integrate(sqrt(x**3+1), x, 2, 10) > sage: e.n() > --- > TypeError Traceback (most recent call last) > > /home/ondrej/