Post Reply 
(12C) [→H ] [ →H.MS]
05-26-2024, 09:37 AM (This post was last modified: 06-01-2024 07:32 AM by Gamo.)
Post: #1
(12C) [→H ] [ →H.MS]
Since HP-12C doesn't have the Hour Minute Second function this

program will convert H.MS to Decimal Hour and Vice Versa.

------------------------------------------------------------

Hour Minute Second input is the same as shown in the

HP-10C, 11C and 15C User Manual. For example.

2 Hour 34 minute 55 second input as 2.3455

15 minute 21 second input as 0.1521

------------------------------------------------------------
Usage: FIX 4

For first use input two value to storage R6 and R7

60 [STO] 6

100 [STO] 7

►To convert H.MS to H make sure program is at the beginning.

[f] PRGM to start at the beginning of this program

Enter H.MS [R/S] display the Decimal Hour

Repeat similar problem no need to start at the beginning of program.

►To convert H to H.MS Start program at line 29

[GTO] 29 [R/S] display the Hour Minute Second

Repeat similar problem no need to go to line 29 again.

-------------------------------------------------------------
Example: FIX 4

Assume calculator already got two value in R6 and R7

And calculator already set to the beginning of the program line.

►Distance of 14 km took 35 minute
What is the speed?

This type of problem the formular to use is

Speed = Distance ÷ Time

14 [ENTER] 0.35 [R/S] display 0.5833 [÷] display answer 24 km/h

►Distance of 15 km with the speed of 25 km/h
How long will this take to cover this distance?

This type of problem the formular to use is

Time = Distance ÷ Speed

15 [ENTER] 25 [÷] display 0.6000 [GTO] 29 [R/S] 0.3600

Answer is 36 minute

-----------------------------------------------------------------
Program:
Quote:01 INTG
02 STO 4
03 LSTx
04 FRAC
05 ENTER
06 RCL 7
07 x
08 INTG
09 STO 5
10 LSTx
11 FRAC
12 X<>Y
13 R↓
14 X<>Y
15 R↓
16 RCL 7
17 x
18 ENTER
19 RCL 6
20 ÷
21 RCL 5
22 +
23 RCL 6
24 ÷
25 RCL 4
26 +
27 GTO 00
28 R/S
29 ENTER
30 INTG
31 STO 4
32 -
33 RCL 6
34 x
35 ENTER
36 INTG
37 STO 5
38 -
39 RCL 6
40 x
41 INTG
42 EEX
43 4
44 ÷
45 RCL 5
46 RCL 7
47 ÷
48 +
49 RCL 4
50 +
51 GTO 28

Gamo 5/2024
Find all posts by this user
Quote this message in a reply
05-27-2024, 05:26 AM
Post: #2
RE: (12C) [→H ] [ →H.MS] conversion
Test from Casio MS-20UC

As demonstrated from this Casio Manual

------------------------------------------------

12H30M45S → 12.??? (12 hour 30 minute 45 second to decimal )

12.3045 [R/S] answer 12.5125

-------------------------------------------------

12.3456 → ?H?M?S ( Decimal to H.MS )

12.3456 [GTO] 29 [R/S] answer 12.2044

------------------------------------------------

10H20M30S + 8H40M25S = ?

[f] PRGM

10.2030 [R/S] 10.3417
8.4025 [R/S] 8.6736 [+] 19.0153

[GTO] 29 [R/S] Answer 19.0055 or 19-00'55"

------------------------------------------------

2H30M40S - 1H00M30S = ?

[f] PRGM

2.3040 [R/S] 2.5111
1.0030 [R/S] 1.0083 [-] 1.5028

[GTO] 29 [R/S] Answer 1.3010 or 1-30'10"

-------------------------------------------------
$9.00 x 7.5H = $??.??

[f] PRGM

9 [ENTER] 7.3 [R/S] 7.5000 [x] Answer $67.5

--------------------------------------------------

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 




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