The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Ratio Equation Program
09-08-2017, 11:04 AM (This post was last modified: 09-08-2017 11:44 AM by Gamo.)
Post: #1
Ratio Equation Program
Found this program on HP Keys Note newsletter about Ratio Equation

A/B = C/D

With unknown quantity input as Zero and key in the values for A, B, C, and D

Program:
Quote:LBL A
X=0?
GTO1
Rv
X=0?
GTO2
Rv
X=0?
GTO1
Rv
LBL2
Rv
/
x
RTN
LBL1
Rv
x
X<>Y
/
RTN

Examples:
13/22 = X/44
13 ENTER 22 ENTER 0 ENTER 44 ---> LBL A = 26

X/22 = 26/44
0 ENTER 22 ENTER 26 ENTER 44 ---> LBL A = 13

Anyone have an idea on how to make this program shorter and
program to work for HP 12C since 12C don't have GTO for goto Label.

Thank You

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Ratio Equation Program - Gamo - 09-08-2017 11:04 AM
RE: Ratio Equation Program - Gamo - 09-08-2017, 11:54 AM
RE: Ratio Equation Program - Joe Horn - 09-08-2017, 11:32 PM



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