Question: Problem 2 (3 pts): If f(x) = 32 +1 -12 is computed in fl-arithmetic by the formula (3.0*+1.0)/(1.0 x) 1.0/(1.0 ***) then there will be

Problem 2 (3 pts): If f(x) = 32 +1 -12 is computed in fl-arithmetic by the formula (3.0*+1.0)/(1.0 x) 1.0/(1.0 ***) then there will be a loss of precision for a close to zero. Explain why. Propose an algorithm for computing f(x) that will produce small relative error for x close to zero, Problem 2 (3 pts): If f(x) = 32 +1 -12 is computed in fl-arithmetic by the formula (3.0*+1.0)/(1.0 x) 1.0/(1.0 ***) then there will be a loss of precision for a close to zero. Explain why. Propose an algorithm for computing f(x) that will produce small relative error for x close to zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
