Small Solver Program
02-14-2019, 05:25 AM
Post: #1
 Gamo Senior Member Posts: 739 Joined: Dec 2016
Small Solver Program
Recently I try to make a small but versatile solver program specifically
for HP Voyager Series calculator.

This solver solve for f(x) = 0 and use some type of counter for iteration.
Due to the iteration process this program will run slow on Original Calculator.
With modern 12C, 15C, and all other emulator this will run extremely fast.

This program is intended for HP-11C but this example will use
HP-15C emulator so that this solver program result can be compare
with the 15C build-in SOLVE function.

---------------------------------------------------------
To run program.

Enter 2 guesses closest to the root.

X1 [ENTER] X2 [A] display answer // Use this Solver

X1 [ENTER] X2 f [SOLVE] [E] display answer // Use 15C build-in SOLVE
---------------------------------------------------------
Example for X^X = Y // X to the power of X equal to Y

X on R1 // Register Storage 1 // For this Sover
Y on R5 // Register Storage 5

X on R2 // Register Storage 2 // For 15C SOLVE
Y on R5 // Register Storage 5
--------------------------------------------------------
Program:
Code:
 LBL A   // This Solver STO 0 Rv STO 1 90    STO I CLx LBL 1 RCL 0 / CHS RCL 1 + STO 1 DSE I GTO B RCL 1 RTN ------------------------------ LBL B  // f(x) program for X^X = Y RCL 1 LN RCL 1 x RCL 5 LN - GTO 1 ------------------------------- LBL E  // 15C SOLVE STO 2 // f(x) program for X^X = Y LN RCL 2 x RCL 5 LN - RTN
-------------------------------------------
Example: X^X = 1000

STORE 1000 to R5 // [STO] 5

This Solver

4 [ENTER] 6 f [A] display 4.555535704
-------------------------------------------------------
15C SOLVE

4 [ENTER] 6 f [SOLVE] [E] display 4.555535705
-------------------------------------------------------
Remark:
For this solver answer is in R1
For 15C SOLVE answer is in R2

Gamo
 « Next Oldest | Next Newest »

 Messages In This Thread Small Solver Program - Gamo - 02-14-2019 05:25 AM RE: Small Solver Program - Thomas Klemm - 02-14-2019, 07:06 AM RE: Small Solver Program - Albert Chan - 02-15-2019, 12:07 AM RE: Small Solver Program - Thomas Klemm - 02-15-2019, 06:26 PM RE: Small Solver Program - Albert Chan - 02-15-2019, 09:16 PM Addendum: Small Solver Program - Thomas Klemm - 02-14-2019, 07:15 AM RE: Small Solver Program - Thomas Klemm - 02-16-2019, 03:58 AM RE: Small Solver Program - Albert Chan - 11-03-2019, 03:14 PM RE: Small Solver Program - Albert Chan - 11-10-2019, 07:02 PM RE: Small Solver Program - Albert Chan - 12-01-2019, 12:13 AM RE: Small Solver Program - Csaba Tizedes - 02-16-2019, 12:24 PM RE: Small Solver Program - Thomas Klemm - 02-16-2019, 01:42 PM RE: Small Solver Program - Csaba Tizedes - 02-16-2019, 03:24 PM RE: Small Solver Program - Gamo - 02-17-2019, 02:57 AM RE: Small Solver Program - Thomas Klemm - 02-17-2019, 09:06 AM RE: Small Solver Program - Gamo - 02-17-2019, 02:33 PM RE: Small Solver Program - Thomas Klemm - 02-17-2019, 04:57 PM RE: Small Solver Program - Gamo - 02-18-2019, 03:49 AM RE: Small Solver Program - Thomas Klemm - 02-18-2019, 05:20 AM RE: Small Solver Program - Dieter - 02-18-2019, 07:46 PM RE: Small Solver Program - Thomas Klemm - 02-18-2019, 10:22 PM RE: Small Solver Program - Albert Chan - 02-19-2019, 01:10 AM RE: Small Solver Program - Csaba Tizedes - 02-19-2019, 08:39 AM RE: Small Solver Program - Thomas Klemm - 02-20-2019, 05:31 AM RE: Small Solver Program - Csaba Tizedes - 02-25-2019, 08:39 PM RE: Small Solver Program - Thomas Klemm - 02-20-2019, 07:22 AM RE: Small Solver Program - Thomas Klemm - 02-24-2019, 09:21 AM RE: Small Solver Program - Thomas Klemm - 02-25-2019, 11:00 PM RE: Small Solver Program - Albert Chan - 01-04-2020, 07:49 PM

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