HP 12C (Metric to Standard Conversion)
|
08-15-2017, 10:13 AM
(This post was last modified: 08-15-2017 10:26 AM by Dieter.)
Post: #2
|
|||
|
|||
RE: HP 12C (Metric to Standard Conversion)
(08-15-2017 05:57 AM)Gamo Wrote: Here is a simple program to convert metric to standard If your standard has imperial units. ;-) (08-15-2017 05:57 AM)Gamo Wrote: Kilometer > Pound Of course it's kg to lb. And °C to °F. But in both cases the PDF is correct. (08-15-2017 05:57 AM)Gamo Wrote: just start GTO to the one you looking for.... Thank you for your program. I hope you do not mind a few suggestions that may help making it even better. The kg-lb and l-gal conversions use good approximations with 1 kg ~ 4579/2077 lb resp. 1 l ~ 1179/4463 gal. But then... instead of eight digits and two operations you may just as well take the exact values and divide by 0,45359237 resp. multiply by 3,785411784. BTW – the WP34s and 31s assume 1 lb = 0,4535924 kg. My 34s manual states even one digit less, i.e. 0,453592. What is the official value? Pauli? Then, you could start the program with four GTOs to the respective routines. This way the user does not have to memorize the numbers 00, 08, 22 and 36 but simply 01, 02, 03 and 04. Also the initial ENTERs in the four routines may be removed then. One could even code a deluxe version that takes a code 1, 2, 3 or 4 from x and jumps to the respective routine from there: 28 ENTER 1 R/S => 11,02 in 15 ENTER 2 R/S => 33,07 lb etc. And a final hint: in any case, i.e. also with your original program, the inverse conversion can be done by pressing 1/x before and after the R/S: Example: 15 inches to centimeters [GTO] 00 15 [1/x] [R/S] [1/x] => 38,1 cm Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP 12C (Metric to Standard Conversion) - Gamo - 08-15-2017, 05:57 AM
RE: HP 12C (Metric to Standard Conversion) - Dieter - 08-15-2017 10:13 AM
RE: HP 12C (Metric to Standard Conversion) - matthiaspaul - 08-15-2017, 10:39 AM
RE: HP 12C (Metric to Standard Conversion) - pier4r - 08-15-2017, 11:17 AM
RE: HP 12C (Metric to Standard Conversion) - Gamo - 08-15-2017, 11:32 AM
RE: HP 12C (Metric to Standard Conversion) - Dieter - 08-15-2017, 12:03 PM
RE: HP 12C (Metric to Standard Conversion) - John Smitherman - 08-15-2017, 11:37 AM
RE: HP 12C (Metric to Standard Conversion) - BartDB - 08-15-2017, 03:02 PM
RE: HP 12C (Metric to Standard Conversion) - klesl - 08-15-2017, 04:26 PM
|
User(s) browsing this thread: 2 Guest(s)