Go to the first, previous, next, last section, table of contents.

Types Tutorial Exercise 7

The relative errors must be converted to absolute errors so that `+/-' notation may be used.

1:  1.              2:  1.
    .               1:  0.2
                        .

    20 RET .05 *        4 RET .05 *

Now we simply chug through the formula.

1:  19.7392088022    1:  394.78 +/- 19.739    1:  6316.5 +/- 706.21
    .                    .                        .

    2 P 2 ^ *            20 p 1 *                 4 p .2 RET 2 ^ *

It turns out the v u command will unpack an error form as well as a vector. This saves us some retyping of numbers.

3:  6316.5 +/- 706.21     2:  6316.5 +/- 706.21
2:  6316.5                1:  0.1118
1:  706.21                    .
    .

    RET v u                   TAB /

Thus the volume is 6316 cubic centimeters, within about 11 percent.


Go to the first, previous, next, last section, table of contents.