mabshoff wrote: > > > On Apr 25, 12:23 am, Paul Zimmermann <paul.zimmerm...@loria.fr> wrote: >> Michael, > > Hi Paul, > >>> And Sage 3.4: >>> | Sage Version 3.4, Release Date: 2009-03-11 | >>> | Type notebook() for the GUI, and license() for information. | >>> ---------------------------------------------------------------------- >>> sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] >>> 0.85397903781471396 >>> So I cannot reproduce this. What platform are you on and are you using >>> a binary, build from source, etc? >> the example that failed has 'exp' instead of 'cos'. However with Sage 3.4 >> it works for me: >> >> ---------------------------------------------------------------------- >> | Sage Version 3.4, Release Date: 2009-03-11 | >> | Type notebook() for the GUI, and license() for information. | >> ---------------------------------------------------------------------- >> sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0] >> -0.43734547482524966 >> >> Paul Zimmermann > > I ran this on 3.4, 3.4.1 and a couple other rc releases in between: > > sage: for i in (0..200): > ....: numerical_integral(sin(pi*exp(x/2)),0,2)[0] > ....: > > and I could not get a failure. Note that the most likely culprit here > is clisp IMHO. Just today I found out that clisp 2.47 doesn't build on > the latest Mandriva release in 32 and 64 bit flavors. Oh well ... > > We should have an Ubuntu 9.04 test image in the not too distant > future, so maybe we will hit it there.
I just upgraded to Jaunty over the weekend, and then compiled 3.4.1 from scratch. Both expressions work for me: $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.04 DISTRIB_CODENAME=jaunty DISTRIB_DESCRIPTION="Ubuntu 9.04" $ sage ---------------------------------------------------------------------- | Sage Version 3.4.1, Release Date: 2009-04-21 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0] 0.85397903781471396 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0] -0.4373454748252496 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0] -0.4373454748252496 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0] -0.4373454748252496 sage: -Jason --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---