You are a guest. Restricted access. Read more

Taylorpolynomial

taylor(function, x, x0, n) calculates the n-th Taylorpolynomial in the symbolic variable x at the point x0.


syms x
y=taylor(log(x),x,1,1)
printf('%f',y)


syms x
y=rat( taylor(exp(x),x,0,6))
printf('%f',y)


syms x
y=float( taylor(x^3*sin(2*x+pi/4),x,pi/8,2))
printf('%f',y)

jmathlab/calculus/taylorpolynomial.txt · Last modified: 2013/04/14 16:52 (external edit)
Back to top
CC Attribution-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0