(11C) Distance, Speed and Time
|
07-13-2019, 06:30 AM
(This post was last modified: 07-14-2019 03:49 AM by Gamo.)
Post: #1
|
|||
|
|||
(11C) Distance, Speed and Time
Program to calculates the Distance (d), Speed (s), or Time (t)
for a moving body according to the following formulas: d = st [distance = speed x time] s = d/t [speed = distance ÷ time] t = d/s [time = distance ÷ speed] Given any two of the quantities d, s and t, the program will calculate the third. --------------------------------------- Remark: This program was adapted from HP-97 Owner's Handbook page 235 Since HP-11C doesn't have the special "test-clearing feature of data entry" so this program use Conditional Test to simulate Data Entry Flag. -------------------------------------- Procedure: [A] Distance [B] Speed [C] Time Example: Fix 4 Distance = 3500 miles Speed = 2070.101 miles per hour Time = ? 3500 [A] display 0.0000 2070.101 [B] display 0.0000 [C] display answer 1.4127 // Time is 1 hour, 41 minutes, 27 seconds ----------------------------- Speed = 95 kilometers per hour Time = 48 hours Distance = ? 95 [B] display 0.0000 48 [C] display 0.0000 [A] display answer 4560.0000 kilometers // Distance --------------------------- Distance = 1.5 kilometers Time = 0.03349 // 3 minutes, 34.9 seconds Speed = ? 1.5 [A] display 0.0000 .03349 [C] display 0.0000 [B] display answer 25.1280 Kilometers per hour // Speed -------------------------- Program: [ , ] is a decimal point Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(11C) Distance, Speed and Time - Gamo - 07-13-2019 06:30 AM
RE: (11C) Distance, Speed and Time - Gamo - 07-14-2019, 11:00 AM
RE: (11C) Distance, Speed and Time - Gamo - 07-15-2019, 12:43 AM
RE: (11C) Distance, Speed and Time - Albert Chan - 07-15-2019, 02:52 AM
RE: (11C) Distance, Speed and Time - Gamo - 07-15-2019, 03:50 AM
RE: (11C) Distance, Speed and Time - Gamo - 07-17-2019, 01:39 AM
RE: (11C) Distance, Speed and Time - Gamo - 07-18-2019, 11:30 AM
|
User(s) browsing this thread: 1 Guest(s)