(15C) Arithmetic with Fractions
|
09-23-2018, 09:24 AM
(This post was last modified: 09-27-2018 02:19 AM by Gamo.)
Post: #1
|
|||
|
|||
(15C) Arithmetic with Fractions
Program to add, subtract, multiply, divide, simplify to lowest term and
convert to mixed fraction. All procedure is the same from previous post for the (11C) Arithmetic with Fractions. This program is the updated version from 11C that improve the computation speed by using better GCD algorithm. (11C) Arithmetic with Fractions link page at http://www.hpmuseum.org/forum/thread-11400.html Here is the clips of this updated version https://youtu.be/wRrKXyRVof8 Program: 87 program lines Code:
This add-on section is for "Decimal to Fraction" Program Procedure: Display X.xxxx.... [GSB] 1 display Numerator [X<>Y] Denominator If Numerator is larger than Denominator Press [E] for Mixed Fraction Example: FIX 4 e^1 = 2.7183 [GSB] 1 display 193 [X<>Y] 71 answer is 193/71 [E] display 2.0051 [X<>Y] 71 Mixed Fraction answer is 2+ 51/71 Program: Decimal to Fraction [Total 132 program steps] Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(15C) Arithmetic with Fractions - Gamo - 09-23-2018 09:24 AM
RE: (15C) Arithmetic with Fractions - Dieter - 09-23-2018, 05:12 PM
RE: (15C) Arithmetic with Fractions - Gamo - 09-24-2018, 02:19 AM
RE: (15C) Arithmetic with Fractions - Dieter - 09-24-2018, 12:27 PM
RE: (15C) Arithmetic with Fractions - Gamo - 09-25-2018, 02:08 AM
RE: (15C) Arithmetic with Fractions - Dieter - 09-25-2018, 06:39 AM
RE: (15C) Arithmetic with Fractions - Gamo - 09-27-2018, 02:14 AM
RE: (15C) Arithmetic with Fractions - Jlouis - 02-05-2019, 04:02 AM
|
User(s) browsing this thread: 1 Guest(s)