Question: A commonly used approximation in mathematics is s i n ( x ) = x where x is in radians. Write a script to calculate
A commonly used approximation in mathematics is
where is in radians. Write a script to calculate the relative error, in the small angle approximation defined by:
for the following three values of in radians. Note the vertical bars indicate this is an absolute value.
Assign the relative error associated with to a variable named RelativeError
Assign the relative error associated with to a variable named RelativeError
Assign the relative error associated with to a variable named RelativeError
Be sure to use a MATLAB command to evaluate each mathematical expression rather than just entering the result calculated elsewhere eg a local MATLAB session or on your calculator
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
