Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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.004973

Explanation / 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.