Appendix D: A Detailed Look at _ 225
In order to find the first time at which the height is 107 meters, use initial
estimates of 0 and 1 second and execute _ using B.
A previous estimate of the root.
It takes 4.1718 seconds for the ridget to reach a height of exactly 107
meters. (It takes approximately two seconds to find this solution.)
However, suppose you assume that the function h(t) is accurate only to the
nearest whole meter. You can now change your subroutine to give f(t) = 0
whenever the calculated magnitude of f(t) is less than 0.5 meter. Change
your subroutine as follows:
Line before n instruction.
Test for x > y and return
zero if accuracy >
magnitude (0.5 > | f(t) | ).
Test for x
f(t) if value is nonzero.