(11C) Ratio Calculation
|
08-02-2018, 01:15 PM
Post: #1
|
|||
|
|||
(11C) Ratio Calculation
Program to calculate ratio of A/B = C/D
Procedure: Input data clockwise start from any varibles and put zero to one unknown variable. Example: If C is unknown: A [ENTER] 0 [ENTER] D [ENTER] B 8/10 = 10/X 8 [ENTER] 10 [ENTER] 0 [ENTER] 10 f [A] --> 12.5 Program: Ratio Calculation Code:
Gamo |
|||
08-02-2018, 05:03 PM
(This post was last modified: 08-03-2018 11:56 AM by Dieter.)
Post: #2
|
|||
|
|||
RE: (10C, 11C, 12C, 15C, 25(C), 33E/C, 34C, 38E/C, 41C, 67/97) Ratio Calculation
(08-02-2018 01:15 PM)Gamo Wrote: Program to calculate ratio of A/B = C/D I think you should explain what "clockwise" means here. Maybe this illustrates the idea: Code: A → C To make this more clear you should also choose an example where all values are different (unlike yours where the 10 appears twice): 10 : 20 = ? : 50 10 [ENTER] 0 [ENTER] 50 [ENTER] 20 [R/S] => 25 (08-02-2018 01:15 PM)Gamo Wrote: Program: Ratio Calculation But more important: I wonder why the polar conversion and a tangent are used instead of two simple divisions: Code: 01 LBL A This way it can also be made to work on the 12C and other calculators without trig functions. It should also run on the 10C, 25(C), 33E/C and 38E/C. Code: 01 x=0? What I still don't like is the error-prone input order. Something like A [ENTER] B [ENTER] C [ENTER] D would be much more intuitive. Here's a solution that works on the 11C, 15C, 34C, 41C, 67/97 and others: Code: 01 LBL A 10 : 20 = ? : 50 10 [ENTER] 20 [ENTER] 0 [ENTER] 50 [A] => 25 This improvement can also be implemented for the 10C, 12C, 25(C), 33E/C, 38E/C: Code: 01 X<>Y 10 [ENTER] 20 [ENTER] 0 [ENTER] 50 [R/S] => 25 And finally... Gamo, may I humbly ask if this program was ..."inspired" by another one you may have found somewhere ?-) Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)