Question: Write a MatLab code to do the following: The Maclaurin series expansion at x=(pi/9) of is cos(x)=1x^2/2!+x^4/4!x^6/6!+.... Starting with simplest version cos(x)=1, add terms one
Write a MatLab code to do the following:
The Maclaurin series expansion at x=(pi/9) of is
cos(x)=1x^2/2!+x^4/4!x^6/6!+....
Starting with simplest version cos(x)=1, add terms one at time to estimate cos(/9). After each new term is added, compute the true and approximate percent relative errors. Add terms until value of approximate error estimation error falls bellow an error criterion conforming to two significant figures.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
