Question
2. (6) Answer the following questions about base10 representations using MatLab a. A computer uses a sevendigit base10 (decimal) representation with one mantissa sign digit,
2. (6) Answer the following questions about base10 representations using MatLab
a. A computer uses a sevendigit base10 (decimal) representation with one mantissa sign digit, four mantissa digits, one exponent sign digit, and one exponent digit. State the absolute value of the true relative error in its representation of pi = 3.14159265... .
b. A computer uses a 10digit base10 (decimal) representation with one mantissa sign digit, seven mantissa digits, one exponent sign digit, and one exponent digit. State the absolute value of the true relative error in its representation of the freespace speed of light of c = 299,792,458 m/s.
c. State the largest and smallest positive values and the machine precision for an eightdigit base10 (decimal) representation with one mantissa sign digit, four mantissa digits, one exponent sign digit, and two exponent digits.
Step 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