On a computer using double precision arithmetic, the value r = sqrt(x) is calculated, where x has the value 360,007. A sensible estimate of the absolute error in r is?
estimated values:-
here first, let us write a c equivalent code for calculating double precision arithmetic value of sqrt(360007).
the ouptut for this could be,
actual values:-
finally the absolute error:-
absolute error=actual output-estimated output
Δr=R(a)-R(e)
=600.0058333049772-600.005833
=0.000000305//
so,the absolute error is 0.000000305
thank you!!
Get Answers For Free
Most questions answered within 1 hours.