Question: Table and Problem 4.11 given as a reference to the original problem statement HW 1_4 Similar to problem 4.11 in your text. Follow the same




Table and Problem 4.11 given as a reference to the original problem statement
HW 1_4 Similar to problem 4.11 in your text. Follow the same directions as written in this problem, but instead of cos(x), use the Maclaurin series expansion of arctan(x), shown below, to estimate arctan(0.74). Display the results to the screen in a table like the one in Example 4.1 in your book. (use fprintf) 1-1)nx..zn-x-z?+xs-z? arctan(x) Terms Result 39.3 9.02 1.44 0.175 0.0172 0.00142 33.3 1.625 1.645833333 1648437500 1648697917 7.69 1.27 0.158 0.0158 4 6 4.11The Maclaurin series expansion for cos x is 2 48! Starting with the simplest version, cosx-1, add terms one at a time to estimate cos( /4). After each new term is added. compute the true and approximate percent relative errors. Use your pocket calculator or MATLAB to determine the true value. Add terms until the absolute value of the approx- imate error estimate falls below an error criterion conform- ing 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
