Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The floating point representation of a real number has the form x = pm ( 0 . d 1 d 2 . . .

The floating point representation of a real number has the form x =\pm (0.d1d2... dn)\beta \beta ^e,where d1=0,0<= di <=\beta 1,M <= e <= M.
a) Suppose \beta =2, n =4, M =3. How many different numbers can be represented in this system?
b) Find fl(2), the floating point representation of 2 in this system. Apply the usual rules for rounding numbers up and down. Then express the final result in decimal form. How large is the roundoff error?
c) In class we saw that xmax =7.5, xmin =0.0625(these are the largest and smallest positive numbers that can be represented in this system). Suppose we switch to a system with n =5. Find the new values of xmax, xmin.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions

Question

Without directly evaluating, show that b+c c+a b+a det a

Answered: 1 week ago

Question

=+b) Is the random variable discrete or continuous?

Answered: 1 week ago