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 whose initial value is 0.

a. add 0.01, 0.02, ..., 1.00 in this order to a sum variable whose initial value is 0.
Adding the numbers in the order specified in A will result in a more accurate result than in B, because two numbers to be added will be about the same size.

Computer Science & Information Technology

You might also like to view...

A(n) ________ shape format allows you to duplicate formatting to another shape

Fill in the blank(s) with correct word

Computer Science & Information Technology

In the figure above, the number 2 refers to a folder on the FTP site where the site will be published.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology