Problems - HP -67 Owner's Handbook Manual

Hide thumbs Also See for HP-67:
Table of Contents

Advertisement

The present Olympic record for the
1500-meter run is 3 minutes, 34.9 sec-
onds, set at the 1968 Olympic Games
by Kipchoge Keino of Kenya. What
was Keino's speed in kilometers per
hour?
(A kilometer is equal to 1000 meters,
so key in the distance as 1.5 kilo-
meters.)
Press
Display
.58
1.500000
Distance keyed in.
.03349
0.059694
Time converted to
decimal hours.
25.127967
Keino's speed was about
25 kilometers per hour.
Notice in the above program how a flag can be used to make a
decision and change the execution of a program based upon past
events. Remember, too, that the status of any flag can be changed
from the keyboard or from a running program.
Problems
1.
Modify the program on page 258 that alternately displays all
zeros and all ones. Use test-cleared flag F2 or F3 instead of
command-cleared flag FO. Your program should be one step
shorter, since flags F2 and F3 clear when they are tested, and do
not require an [ [ce) instruction.
One mile is equal to 1.609344 kilometers. Use the flowchart
on the opposite page to create and load a program that will
permit you to key in distance in either miles (define the routine
with [
é) or kilometers (define this routine with
o]
(&) ) and, using a flag and a subroutine, either multiply
or divide to convert from one unit of measure to the other.
(Hint:
yields the same result as B.)
Run the program to convert 26 miles into kilometers; to convert
1500 meters (1.5 kilometers) into miles.
(Answers: 41.84 kilometers; 0.93 miles.)

Advertisement

Table of Contents
loading

Table of Contents