Question: Suppose you need to compute y = x - sin x for x small. There is going to be a significant cancelation of digits if

 Suppose you need to compute y = x - sin x

Suppose you need to compute y = x - sin x for x small. There is going to be a significant cancelation of digits if the computation is performed directly. How many digits are lost in double precision when x = 0.05? Propose an alternative way to compute y with nearly full machine precision

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!