Hello,

On Thu, Mar 12, 2009 at 1:36 PM, Jose Guzman <[email protected]> wrote:
> sage: g=9.81
> sage: t=var('t')
> sage: limit(2*g*(t^2-1)/(t-1),t=1)
>  >>> gives me 39
>
> However, if I simplify the equation and calculate the limit...
> sage: limit(2*g*(t+1),t=1)
>  >> gives me the good value 39.276

This is a problem with the version of Maxima that we are shipping:

Maxima 5.16.3 http://maxima.sourceforge.net
Using Lisp CLISP 2.46 (2008-07-02)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) limit(2*9.81*(t^2-1)/(t-1),t,1);
(%o1)                                 39


It seems to be fixed in the current version of Maxima:


Maxima 5.17post http://maxima.sourceforge.net
Using Lisp SBCL 1.0.18.debian
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) limit(2*9.81*(t^2-1)/(t-1),t,1);
(%o1)                          39.2400016784668

We should really upgrade.

--MIke

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to