The Mac Laurin series for sin(x) is: % sinx = x - x^3/3! + X^5/5! - X^7/7! (Not necessarily MATLAB % code -- recall that! is the mathematical symbol for factorial - but % that MATLAB uses the factorial function) %
a) Determine the convergence criteria, is, necessary for a % result with 4 significant figures b) Use this series to estimate the value of sin (5), to 4 significant % figures - using the convergence criteria from part a.
c) In a table with appropriate headings report the value of the estimate for each iteration, as well as the true error and the approximate error. Assume that MATLAB returns the true value of sin (5) from the built-in % sin function.
d) Plot the value of your approximation on the y axis, and the iteration % number on the x axis. (The code to do this is plot(y)) Don't forget to label your graph appropriately -it should include a title and axis labels
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here