Answered step by step
Verified Expert Solution
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)
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) 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 precisionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started