#7472: Taylor polynomial in two variables does not work
----------------------------+-----------------------------------------------
Reporter: robert.marik | Owner: burcin
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.3
Component: calculus | Keywords: taylor polynomial, derivative
Work_issues: | Author: Robert Marik
Upstream: N/A | Reviewer: Karl-Dieter Crisman
Merged: |
----------------------------+-----------------------------------------------
Comment(by robert.marik):
OK. what about this, is it acceptable?
{{{
sage: y=var('y');taylor(sin(x)*exp(y),(x,y),(0,1),4)
1/6*(y - 1)^3*x*e - 1/6*(y - 1)*x^3*e + 1/2*(y - 1)^2*x*e - 1/6*x^3*e + (y
- 1)*x*e + x*e
sage: y=var('y');taylor(sin(x)*exp(y),(x,0,4),(y,1,4))
-1/144*((y - 1)^4*e + 4*(y - 1)^3*e + 12*(y - 1)^2*e + 24*(y - 1)*e +
24*e)*x^3 + 1/24*((y - 1)^4*e + 4*(y - 1)^3*e + 12*(y - 1)^2*e + 24*(y -
1)*e + 24*e)*x
sage: y=var('y');taylor(sin(x)*exp(y),x,0,4)
-1/6*x^3*e^y + x*e^y
sage: y=var('y');taylor(sin(x)*exp(y),(x,0,4))
-1/6*x^3*e^y + x*e^y
}}}
Note that in the first example the degree of polynomial is 4 and in the
second example the degree of polynomial is 7.
(Not yet documented in the experimental patch)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7472#comment:6>
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=.