I have found my mistake - I had 'maple' selected by accident in the fourth menu to the right, at the top of the notebook page. Now it works as you indicated, without the error appearing.
Thank you again. swulf. On Sep 5, 8:15 pm, William Stein <[email protected]> wrote: > On Sat, Sep 5, 2009 at 8:11 PM, swulf<[email protected]> wrote: > > > Perhaps I spoke too soon... the numerical_integral command does not > > seem to work on my installation either - once again it appears to > > depend upon Maple. > > Maple? The numerical_integral command certainly does not use Maple. > It just uses the GSL C library. > > And when you say "does not work", what happens? > > William > > > > > > > swulf > > > On Sep 5, 11:48 am, swulf <[email protected]> wrote: > >> Hello, > > >> I'm new to Sage and this group. > > >> I have been doing some simple experimentation with integration in > >> order to get up to speed. One thing I attempted was to try and > >> calculate an integral, attempting to reproduce the problem described > >> on this page: > > >>http://mathforum.org/library/drmath/view/52038.html > > >> Here is how I gave the problem to Sage (V4.1.1 under Windows): > > >> f=sin(x) > >> g=f.diff(x) > >> h=(sqrt(g^2+1)) > >> j=integral(h,x,0,2*pi) > >> j > > >> Here is the response from Sage: > > >> integrate(sqrt(cos(x)^2 + 1), x, 0, 2*pi) > > >> This looks like Sage can't perform the integration, and it seems the > >> sqrt is the problem, although it doesn't flag any sort of error. In > >> the web page I give above, the problem is solved with MAPLE... so I am > >> not sure why Sage has a problem with it? > > >> I suspect I am missing something or doing something stupid. Can anyone > >> enlighten me please? > > >> Thanks, > > >> swulf > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
