Floating-point operations In general, real numbers (with infinite decimal expansions) cannot be represented exactly in a computer by floating-point numbers (with finite decimal expansions). Suppose that floating-point numbers on a particular computer carry an error of at most 10 –16 . Estimate the maximum error that is committed in doing the following arithmetic operations. Express the error in absolute and relative (percent) terms. a. f ( x , y ) = xy b. f ( x , y ) = x / y c. F ( x , y , z ) = xz d. F ( x , y , z ) = ( x / y ) / z
Floating-point operations In general, real numbers (with infinite decimal expansions) cannot be represented exactly in a computer by floating-point numbers (with finite decimal expansions). Suppose that floating-point numbers on a particular computer carry an error of at most 10 –16 . Estimate the maximum error that is committed in doing the following arithmetic operations. Express the error in absolute and relative (percent) terms. a. f ( x , y ) = xy b. f ( x , y ) = x / y c. F ( x , y , z ) = xz d. F ( x , y , z ) = ( x / y ) / z
Solution Summary: The author calculates the maximum error for f(x,y)=xy and expresses it in absolute and relative terms.
Floating-point operations In general, real numbers (with infinite decimal expansions) cannot be represented exactly in a computer by floating-point numbers (with finite decimal expansions). Suppose that floating-point numbers on a particular computer carry an error of at most 10–16. Estimate the maximum error that is committed in doing the following arithmetic operations. Express the error in absolute and relative (percent) terms.
University Calculus: Early Transcendentals (4th Edition)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, calculus and related others by exploring similar questions and additional content below.