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)

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter1: Fundamental Concepts Of Algebra
Section1.2: Exponents And Radicals
Problem 92E
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
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Intermediate Algebra
Intermediate Algebra
Algebra
ISBN:
9780998625720
Author:
Lynn Marecek
Publisher:
OpenStax College
Elements Of Modern Algebra
Elements Of Modern Algebra
Algebra
ISBN:
9781285463230
Author:
Gilbert, Linda, Jimmie
Publisher:
Cengage Learning,
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell