Perform the following floating-point operations assuming that both numbers are r
ID: 3887081 • Letter: P
Question
Perform the following floating-point operations assuming that both numbers are represented in a normalized (regular normalization), decimal floating-point system with a 4-digit length mantissa (i.e., 4 significant figures). Remember to write down the numbers in the appropriate format to do the operations, and to give the final result using the floating-point system described above. Use chopping. Compute the true percent relative errors when asked. a) 0.8672 + 0.6935 (compute epsilon_t) b) 5.63 +0.056879 c) 510+0.001693 (compute epsilon_t) d) 1.7059-1.7048 (compute epsilon_t) e) 63.2 times 3.159 (compute epsilon_t) f) 0.056793/0.004973Explanation / Answer
a) 1.5607
b) 5.6869
A final zero or trailing zeros in the decimal portion ONLY are significant, thats why two zeros after decimanl point aren't important
c)510.001693
Same case here.
d)0.001100
e)199.6488
f)11.4203
c)510.001693
Same case here.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.