Taylor series Approximation of x*cos(x) at x = 2pi/3
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Thiago Augusto Borges Rodrigues
el 9 de En. de 2020
Respondida: Divya Yerraguntla
el 13 de En. de 2020
I am trying to solve a how many terms of Macclaurin Serie are necessary to approximate f(2pi/3) into 10^-4 correct result. My results do not look right and I was not able to do the correct approximation. Can somebody help me?
3 comentarios
Respuestas (1)
Divya Yerraguntla
el 13 de En. de 2020
Hi,
I'm assuming you want to know the number of terms in the T12 expression.
To do this you could use the function children which takes T12 as input and returns the terms of T12 in an array. You could find the number of terms in the array by using :
length(children(T12));
Hope it helps!
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!