#3863: numerical integration of x^2.7 * e^(-2.4*x) fails
----------------------+-----------------------------------------------------
Reporter: ddrake | Owner: gfurnish
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.1
Component: calculus | Keywords: integration integral calculus symbolic
----------------------+-----------------------------------------------------
Comment(by ddrake):
With the new symbolics in 4.0.rc0, this still doesn't work; the error is
now:
{{{
sage: integrate(x^2.7 * exp(-2.4*x), x, 0, 3).n()
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (10003, 0))
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/home/drake/.sage/temp/sage.math.washington.edu/22166/_home_drake__sage_init_sage_0.py
in <module>()
/scratch/drake/4.0.rc0/local/lib/python2.5/site-
packages/sage/symbolic/expression.so in
sage.symbolic.expression.Expression.n
(sage/symbolic/expression.cpp:15691)()
/scratch/drake/4.0.rc0/local/lib/python2.5/site-
packages/sage/symbolic/expression.so in
sage.symbolic.expression.Expression.pyobject
(sage/symbolic/expression.cpp:2641)()
TypeError: self must be a numeric expression
}}}
Putting parentheses around the 2.7 and -2.4 didn't change anything.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3863#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---