Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 . [ 2 0 marks ] Consider IEEE single - precision floating - point representation with 1 bit for sign, 8 bits for

Question 1.[20 marks] Consider IEEE single-precision floating-point representation with 1
bit for sign, 8 bits for biased exponent, and 23 bits for mantissa.
(1.a) marks] Let x=25+2-16+2-19+2-21. Find the machine number closest to x.
Denote this machine number by x**. What are the absolute and relative errors, respectively,
when converting x to x**?
(1.b)[8 marks] Show that the relative error in converting a real number to a machine number
in this representation is no greater than the machine epsilon lonM=2-24. Here it is assumed
that the real number lies between the smallest machine number and the largest machine num-
ber of this representation.
(1.c)[6 marks] Consider the function f(x,y)=x+y and assume x>0 and y>0. Suppose
that the input values x and y have errors x and y such that their relative errors satisfy
|x||x| and |y||y| for some constant >0. Show that the relative error of the
output f(x,y) thus caused is also bounded by ; that is, letting f denotd the error of f(x,y),
there is |f||f(x,y)|.
image text in transcribed

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

23 Negotiation skills and techniques.

Answered: 1 week ago

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago

Question

Explain Industrial market segment.

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago