John H Palmieri <[email protected]> writes:
> This works for me:
>
> sage: numerical_integral(x*cos(x^3), 0, 0.5)
> (0.1247560409610376, 1.3850702913602309e-15)
Interesting...
sage: numerical_integral(x*cos(x^3), 0, 0.5)
(0.1247560409610376, 1.3850702913602309e-15)
sage: (x*cos(x^3))(0)
/opt/sage-5.0.rc1/local/lib/python2.7/site-packages/IPython/iplib.py:2260:
DeprecationWarning: Substitution using function-call syntax and unnamed
arguments is deprecated and will be removed from a future release of Sage; you
can use named arguments instead, like EXPR(x=..., y=...)
exec code_obj in self.user_global_ns, self.user_ns
0
Why does numerical_integral() not trigger the deprecation warning?
-Keshav
----
Join us in #sagemath on irc.freenode.net !
--
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
URL: http://www.sagemath.org