1. Round-off error results when a machine that stores numbers using finite bits performs floating point operations involving numbers of greatly different magnitude. Consider a machine that stores numbers as base 10 (B = 10) with 5 digits for the mantissa (aka the significand) and 1 digit for the exponent. (Note: technically there antissa there would also be an additional 1 bit reserved for the sign of the mantissa and one bit for the sign of the exponent.) (5pts) sulect result fro024, (a) Compute the roundoff error that would result from the following operation: 1.7421485.3 (3pts) (b) Compute the relative error that results from this operation. (1pt) (c) Compute the machine precision: € = B-(p-1), where p is the width of the mantissa. Note the similarity in magnitude between this quantity and the result from part b. (1pt)

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
1. Round-off error results when a machine that stores numbers using finite bits performs
floating point operations involving numbers of greatly different magnitude. Consider
a machine that stores numbers as base 10 (B = 10) with 5 digits for the mantissa
(aka the significand) and 1 digit for the exponent. (Note: technically there antissa
there would
also
be an additional 1 bit reserved for the sign of the mantissa and one bit for the sign
of the exponent.) (5pts)
sulect result fro024,
(a) Compute the roundoff error that would result from the following operation:
1.7421485.3 (3pts)
(b) Compute the relative error that results from this operation. (1pt)
(c) Compute the machine precision: € = B-(p-1), where p is the width of the
mantissa. Note the similarity in magnitude between this quantity and the result
from part b. (1pt)
Transcribed Image Text:1. Round-off error results when a machine that stores numbers using finite bits performs floating point operations involving numbers of greatly different magnitude. Consider a machine that stores numbers as base 10 (B = 10) with 5 digits for the mantissa (aka the significand) and 1 digit for the exponent. (Note: technically there antissa there would also be an additional 1 bit reserved for the sign of the mantissa and one bit for the sign of the exponent.) (5pts) sulect result fro024, (a) Compute the roundoff error that would result from the following operation: 1.7421485.3 (3pts) (b) Compute the relative error that results from this operation. (1pt) (c) Compute the machine precision: € = B-(p-1), where p is the width of the mantissa. Note the similarity in magnitude between this quantity and the result from part b. (1pt)
Expert Solution
steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Similar questions
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,