(12C) Add or Subtract Fractions
|
09-24-2018, 05:24 PM
(This post was last modified: 09-24-2018 06:40 PM by Dieter.)
Post: #5
|
|||
|
|||
RE: (12C) Add or Subtract Fractions
(09-19-2018 07:55 AM)Gamo Wrote: Continue form post #1 You can have both programs at the same time, even on a 12C. (09-19-2018 07:55 AM)Gamo Wrote: Remark: This Multiply or Divide program will not work with negative fractions. This one will: Code: 01 STO 4 Enter program, switch back to run mode, f [PRGM] to reset. Usage: 1. Enter both fractions: a [ENTER] b [ENTER] c [ENTER] d [R/S] => 0 2. Enter command code: 1 = add 2 = subtract 3 = multiply 4 = divide [R/S] 3. Result is displayed as "numerator", denominator. 4. Now you can do one of the following: 4a. Convert result to mixed fraction: Enter 0 [R/S] => "whole part", "numerator", denominator Continue with step 4. 4b. Enter another fraction e/f to be added/subtracted/multiplied/divided: e [ENTER] f [R/S] Continue with step 2. 4c. Start a completely new calculation: Continue with step 1. (09-19-2018 07:55 AM)Gamo Wrote: Try this challenging example: 676/13 x 3117/22 676 [ENTER] 13 [ENTER] 3117 [ENTER] 22 [R/S] => 0 3 [R/S] => "81042" 11 Convert this into a mixed fraction: 0 [R/S] => "7367" "5" "11" Now add 1/22 1 [ENTER] 22 [R/S] 1 [R/S] => "14735" 2 Finally subtract 1/4 1 [ENTER] 4 [R/S] 2 [R/S] => "29469" 4 View this as a mixed fraction: 0 [R/S] => "7367" "1" 4 New calculation: 1/3 – 2/5 1 [ENTER] 3 [ENTER] 2 [ENTER] 5 [R/S] 2 [R/S] "1" –15 Add 1/25 1 [ENTER] 25 [R/S] 1 [R/S] "–2" 75 Re. memory uisage: g MEM yields P–92 r–08 No registers beyond R4 are used. Dieter Edit: replaced program with a slightly modified version, now down to 90 steps. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Add or Subtract Fractions - Gamo - 09-17-2018, 05:49 AM
RE: (12C) Add or Subtract Fractions - Gamo - 09-19-2018, 07:55 AM
RE: (12C) Add or Subtract Fractions - Albert Chan - 09-19-2018, 12:19 PM
RE: (12C) Add or Subtract Fractions - Dieter - 09-19-2018, 06:45 PM
RE: (12C) Add or Subtract Fractions - Dieter - 09-24-2018 05:24 PM
RE: (12C) Add or Subtract Fractions - Dieter - 09-27-2018, 04:52 PM
RE: (12C) Add or Subtract Fractions - Gamo - 09-25-2018, 02:36 AM
|
User(s) browsing this thread: 1 Guest(s)