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
 BERNARD MICHAUD Member Posts: 149 Joined: Aug 2015
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)
08-16-2018, 12:16 PM
Post: #2
 JDW Senior Member Posts: 437 Joined: Jun 2016
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:

(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.
 « Next Oldest | Next Newest »

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