Finding the coefficients of a Taylor polynomial

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 1K views
schniefen
Messages
177
Reaction score
4
TL;DR
Consider the equation ##x+2y+z+e^{2z}-1=0##. Find the cocoefficients of the Taylor polynomial of degree two of the function ##z(x,y)## about the point ##(0,0)##.
To find the coefficients of the Taylor polynomial of degree two of the function ##z(x,y)## around the point ##(0,0)##, what would be a handy way of doing that in python? How would one find the derivatives of ##z(x,y)##?
 
Physics news on Phys.org
schniefen said:
Summary: Consider the equation ##x+2y+z+e^{2z}-1=0##. Find the cocoefficients of the Taylor polynomial of degree two of the function ##z(x,y)## about the point ##(0,0)##.

To find the coefficients of the Taylor polynomial of degree two of the function ##z(x,y)## around the point ##(0,0)##, what would be a handy way of doing that in python? How would one find the derivatives of ##z(x,y)##?
SimPy will do symbolic differentiation, including partial derivatives. See https://docs.sympy.org/latest/tutorial/calculus.html