Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

From this book ( Basic concepts computational physics) ch1 a) Give the standard (IEEE) single precision binary representation of the machine approximation for 1/3. b)

image text in transcribedFrom this book ( Basic concepts computational physics) ch1

a) Give the standard (IEEE) single precision binary representation of the machine approximation for 1/3. b) Demonstrate how x1 + x2 and X X2 are calculated on a computer using decimal floating point numbers with 4 significant digit precision for x1 = 0.11258762 102 and x2 = 0.11244891 102. Calculate the relative error. c) Find smallest positive integer that is not exact in single precision. d) How many terms of the exponential series are needed to get the best single and double precision representation of e = exp(1)? e) Calculate the machine epsilon for single and double precision. a) Give the standard (IEEE) single precision binary representation of the machine approximation for 1/3. b) Demonstrate how x1 + x2 and X X2 are calculated on a computer using decimal floating point numbers with 4 significant digit precision for x1 = 0.11258762 102 and x2 = 0.11244891 102. Calculate the relative error. c) Find smallest positive integer that is not exact in single precision. d) How many terms of the exponential series are needed to get the best single and double precision representation of e = exp(1)? e) Calculate the machine epsilon for single and double precision

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

Why would Target (TGT) want to use LIFO instead of FIFO?

Answered: 1 week ago

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago