how do you use the built taylor function, can some one give an example
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
how do you use the built taylor function, can some one give an example
0 comentarios
Respuesta aceptada
James Tursa
el 23 de Jul. de 2012
Editada: James Tursa
el 23 de Jul. de 2012
From the documentation:
syms x
taylor(exp(x))
taylor(sin(x))
taylor(cos(x))
ans =
x^5/120 + x^4/24 + x^3/6 + x^2/2 + x + 1
ans =
x^5/120 - x^3/6 + x
ans =
x^4/24 - x^2/2 + 1
Note that this requires the symbolic math toolbox.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!