Question: MATLAB program is required. Problem 3 (18 pts). Many applications use the small angle approximation for the cosine function, cos(x)1x2/2, where x must be in

 MATLAB program is required. Problem 3 (18 pts). Many applications use

MATLAB program is required.

Problem 3 (18 pts). Many applications use the "small angle" approximation for the cosine function, cos(x)1x2/2, where x must be in radians. Investigate the accuracy of this approximation by creating the following plots. You should have 51 data points evenly distributed in the interval of [0,/4] radians. a) Overlay the curve of cos(x) versus x over the curve of (1x2/2) versus x. Use legends to identify the two curves. At what x value does the largest difference between the two curves occur? b) Plot the relative difference (cos(x)1+x2/2)/cos(x) versus x. How small must x be for the absolute relative difference to be within 1%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!