Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions