Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions