Post Reply 
Distance, Speed, Time
12-16-2017, 11:01 PM (This post was last modified: 06-03-2018 01:02 PM by BERNARD MICHAUD.)
Post: #1
Distance, Speed, Time
Distance, Speed, Time Calculator.

Enter Speed and Distance in miles or kilometers as long as the units are the same.
For now when calculating Time for for various lengths of roadway at different speeds, you can jot down the times and use TimeCalc.hpprgm to accumulate the total time.
I will combine the two programs in the near future, for more flexibility.

REVISED AND IMPROVED June 2,2018


Attached File(s)
.hpprgm  DistSpdTime.hpprgm (Size: 7.42 KB / Downloads: 22)
Find all posts by this user
Quote this message in a reply
08-16-2018, 12:16 PM
Post: #2
RE: Distance, Speed, Time
Bernard,

I just tried out your program. Is it rounding strangely? For example:

Distance = 500E-3
Speed = 100E0
Then move the box selector down to H and tap OK to get:
H=0E0, M=0E0, S=20E0

But 18 seconds is the expected answer. Here's an online calculator to compare:

http://www.machinehead-software.co.uk/bi..._calc.html

(Use the Time Calculator and choose kmh & Kilometers in the popups, type your numbers, then Calculate Time.)

I then tried this in your program on my Prime:

Distance = 1E0
Speed = 100E0
Then move the box selector down to H and tap OK to get:
H=0E0, M=0E0, S=30E0

But the expected answer is 36 seconds.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)