Question: To add 0 . 0 1 + 0 . 0 2 + . . . + 1 . 0 0 , what order should you

To add 0.01+0.02+...+1.00, what order should you use to add the
numbers to get better accuracy?
a. add 0.01,0.02,...,1.00 in this order to a sum variable whose
initial value is 0.
b. add 1.00,0.99,0.98,...,0.02,0.01 in this order to a sum variable

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!