Question: Problem 3) 1-COS X Consider the function f(x) = sin x a) Use the decimal format with six significant digits (apply rounding at each step)

 Problem 3) 1-COS X Consider the function f(x) = sin x

Problem 3) 1-COS X Consider the function f(x) = sin x a) Use the decimal format with six significant digits (apply rounding at each step) to calculate (using a calculator) f(x) for x = 0.007. [Hint: significant digits of a number are the written digits that are meaningful. For example: 12.345 has 5 significant digits. The same number is written as 12.35 with 4 significant digits] b) Use MATLAB (using format long) to calculate the value of f(x). Consider this to be the true value, and calculate the true relative error due to rounding in the value of f(x) that was obtained in part (a). c) Obtain a form of f(x) that is less prone to round off errors and explain how you obtained the new form. With the new form, use the decimal format with six significant digits (apply rounding at each step) to calculate (using a calculator) f(x) for x = 0.007. Compare the value with the values in parts (a) and (b)

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!