Post Reply 
(11C) Unit Conversions (Quick and Easy)
04-03-2018, 10:29 AM
Post: #1
(11C) Unit Conversions (Quick and Easy)
Very simple program for quick and easy unit conversions also work with any HP calculator that have Labels.
This is very useful when you need to convert units often in your work or project.

Procedure:
1. STO 0 for your desire Unit Constant
2. Remember LBL A for Multiply and LBL B for Divide

Example: Convert between Mile and Kilometer
(1 mile = 1.60934 kilometer)

1.60934 STO 0 (store constant)

123 mile to kilometer > 123 > A > 197.95 kilometer
123 kilometer to mile > 123 > B > 76.43 mile

Program:
Code:

LBL A (Multiply)
RCL 0
x
RTN
LBL B (Divide) 
RCL 0
/
RTN

Gamo
Find all posts by this user
Quote this message in a reply
04-03-2018, 08:50 PM
Post: #2
RE: (11C) Unit Conversions (Quick and Easy)
(04-03-2018 10:29 AM)Gamo Wrote:  1.60934 STO 0 (store constant)


The final 4 in the constant has been left out:

1.609344

In case you ever forget it, just do the following:

45 ENTER 450 1/x - g √x g √x g √x

Not that this would really make a difference :-)
Find all posts by this user
Quote this message in a reply
04-17-2018, 01:54 AM (This post was last modified: 04-17-2018 02:05 AM by Gamo.)
Post: #3
RE: (11C) Unit Conversions (Quick and Easy)
This is not a simple program version as state in this topic but good to have to convert everyday use units for

C → F
f' in'' → cm (Feet Inch to Centimeter)
lb → kg

Program:
Code:

*LBL A    //  C→F
F?1
GTO 1
ENTER
1.8
x
32
+
RTN
*LBL 1
ENTER
32
-
1.8
/
GSB D
RTN
*LBL B    //  (Feet Inch→Centimeter)
F?1
GTO 2
X<>Y
12
x
+
2.54
x
RTN
*LBL 2
ENTER
30.48
/
ENTER
INT
STO 1
-
12
x
RCL 1
GSB D
R/S
X<>Y
RTN
*LBL C    //  (lb→ kg)
ENTER
,45359237
F?1
GTO 3
x
RTN
*LBL 3
/
GSB D
RTN
*LBL D    // Clear Flag 1
CF?1
RTN
*LBL E    //  Reverse Unit
SF?1
RTN

Example: Switch to USER mode f USER > D (Clear Flag)

LBL E for Unit Reverse

37C > F?
37 A > 98.6

100F > C?
100 E > A > 37.78

160 cm > ft' in'' ?
160 > E > B > 5 > R/S > 2.99 (160 cm approximate to 5 Feet 3 Inches)

6' 5'' > cm ?
6 ENTER 5 > B > 195.58

64 kg > lb?
64 > E > C > 141.10


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




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