( Free42 ) Arithmetic with Fractions

06102020, 05:27 AM
(This post was last modified: 06102020 06:16 AM by Gamo.)
Post: #1




( Free42 ) Arithmetic with Fractions
Program to add, subtract, multiply, divide, simplify to lowest term and
convert to mixed fraction.  The program code is from my previous post for the HP11C and program is adapted from member who enhance this program further. His program is on Post: #2 https://www.hpmuseum.org/forum/thread11400.html Remark: Post: #3 was mention about very large fractions that the normal 11C can't give out correct answer but with the Free42 or DM42 that came with larger decimal precision I try that problem and very easily gave result fast and accurate answer.  Assign Soft Menu keys as shown below: [ADD] [SUBT] [MULTI] [DIV] [MIX] [AF]  To run program: Initilize menu button to [AF] display "Arithmetic Fractions"  Usage: Calculate a/b [+ – x ÷] c/d a [ENTER] b [ENTER] c ENTER d [ADD] => add [SUBT] => subtract [MULTI] => multiply [DIV] => divide [MIX] => convert to mixed fraction The result of each operation is in Y (numerator) and X (denominator). Even after a mixed fraction has been displayed the simple fraction still is in Y and X. So chain calculations are possible.  Example: 111 [ENTER] 33 [ENTER] 7 [ENTER] 17 [ADD] => "706" 187 [MIX] => "3" "145" 187 Now subtract 1/187 1 [ENTER] 187 [SUBT] => "705" 187 [R/S] => "3" "144" 187  The [MIX] key can be used independently for displaying mixed fractions. Example: 355 [ENTER] 113 [MIX] => "3" "16" 113.  Program RAW file: https://www.dropbox.com/s/e3z1zdu5ak2gwp...s.raw?dl=0 Photo:  Gamo 6/10/2020 

« Next Oldest  Next Newest »

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