Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Recall that a floating - point number can be expressed as where s , f and e are binary numbers. Recall that ( s )

Recall that a floating-point number can be expressed as
where s,f and e are binary numbers. Recall that (s) is the sign indicator, (f) the mantissa (or
fractional part), and (e) the exponent.
Suppose the sign is 1 bit long, the mantissa 15 bits long, and the exponent has 7 bits. What are the
largest and smallest positive numbers in this computer system?
a) Express the decimal number 1830.567 as a binary fraction.
b) Express the binary fraction 10010111.010001 as a decimal number.
a) After adding each term, compute the true and the approximate percent relative errors.
b) Continue the iterative process of adding one term at a time until the approximate
percentrelative error falls below an error criterion for 4 significant figures (by hand).
Evaluate the polynomials. P(x)=x3-6x2+12x-8,Q(x)=((x-6)x+12)x-8, and R(x)=
(x-2)3
a. Using four-digit rounding arithmetic compute P(3.24),Q(3.24), and R(3.24).
b. Compute the relative error for each, lont=? assuming the true value as 1.906624.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions