#8943: RuntimeError with series
-----------------------------------+----------------------------------------
Reporter: casamayou | Owner: burcin
Type: enhancement | Status: positive_review
Priority: minor | Milestone: sage-4.7
Component: calculus | Keywords: series, taylor
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Alexei Sheplyakov, Burcin
Erocal
Merged: | Dependencies: 11317
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* status: needs_review => positive_review
* reviewer: => Karl-Dieter Crisman
Comment:
This is nice, and the other examples given by the author also did not work
before but now do:
{{{
sage: (cos(x)^(sin(x)/x)).series(x==0,9)
1 + (-1/2)*x^2 + 1/8*x^4 + (-1/30)*x^6 + 631/120960*x^8 + Order(x^9)
sage: ((1+x)^(1/x)).series(x==0,9)
(e) + (-1/2*e)*x + (11/24*e)*x^2 + (-7/16*e)*x^3 + (2447/5760*e)*x^4 +
(-959/2304*e)*x^5 + (238043/580608*e)*x^6 + (-67223/165888*e)*x^7 +
(559440199/1393459200*e)*x^8 + Order(x^9)
}}}
Also, the new series does correctly approximate the original function near
x=0 :)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8943#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.