Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Errors: Finite Precision Algebra Consider a FAKE computer that rounds any real number into the 3-significant figure, floating- point decimal format t d.dd x 10ds,

image text in transcribed

Errors: Finite Precision Algebra Consider a "FAKE" computer that rounds any real number into the 3-significant figure, floating- point decimal format t d.dd x 10ds, where each d is a decimal from 0-9, but there are no other restrictions (no "infinity", no "forcing a number to be denormal if the d in the exponent is 0"). (a) What is the largest number (realmax) you could store in this FAKE computer? (b) What is the smallest positive number (realmin) you could store in this FAKE computer that is 2.1 5 pts not denormal (i.e. maintains all 3 significant figures)? (c) What is the value of machine precision (e)? Now let's say you want to add the following four numbers with this FAKE computer: (d) What is the final value of S in the fake computer if you did the sum in the left-to-right order (e) Demonstrate the ideal order you should add the four numbers to provide the most accurate S 1.4317341.3 6.41 (The real, exact sum is clearly 222.14) written above? What is the percent error in the value of S (compared to the real sum)? value of S. What is that final value of S, and what is its percent error? Errors: Finite Precision Algebra Consider a "FAKE" computer that rounds any real number into the 3-significant figure, floating- point decimal format t d.dd x 10ds, where each d is a decimal from 0-9, but there are no other restrictions (no "infinity", no "forcing a number to be denormal if the d in the exponent is 0"). (a) What is the largest number (realmax) you could store in this FAKE computer? (b) What is the smallest positive number (realmin) you could store in this FAKE computer that is 2.1 5 pts not denormal (i.e. maintains all 3 significant figures)? (c) What is the value of machine precision (e)? Now let's say you want to add the following four numbers with this FAKE computer: (d) What is the final value of S in the fake computer if you did the sum in the left-to-right order (e) Demonstrate the ideal order you should add the four numbers to provide the most accurate S 1.4317341.3 6.41 (The real, exact sum is clearly 222.14) written above? What is the percent error in the value of S (compared to the real sum)? value of S. What is that final value of S, and what is its percent error

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

MFDBS 91 3rd Symposium On Mathematical Fundamentals Of Database And Knowledge Base Systems Rostock Germany May 6 9 1991

Authors: Bernhard Thalheim ,Janos Demetrovics ,Hans-Detlef Gerhardt

1991st Edition

3540540091, 978-3540540090

More Books

Students also viewed these Databases questions

Question

Explain budgetary Control

Answered: 1 week ago

Question

Solve the integral:

Answered: 1 week ago

Question

What is meant by Non-programmed decision?

Answered: 1 week ago

Question

What are the different techniques used in decision making?

Answered: 1 week ago

Question

b. What groups were most represented? Why do you think this is so?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago