hp15c Program IndexUpdated 30 June 2018
NewBisectionP Solver  Solver for hp programmable calculators  J E PattersonBisectionP  DownloadBisectionP  Documentation GSB A runs a self contained bisection solver which acts on f(x) = 0 under label E. This program is suitable for some calculators which don't include the hp Solver. Label E can hold any equation of the form f(x) = 0. Note that some of the hp15C Owner's Handbook examples may require some extra ENTER statements at the beginning as the stack is expected to be filled with x. The open box example on page 189 requires three ENTER statements at the beginning. SecantP  Solver for hp programmable calculators  J E PattersonSecantP  DownloadSecantP  Documentation GSB A runs a self contained secant solver which acts on f(x) = 0 under label E. This program is suitable for some calculators which don't include the hp Solver. This solver converges to the root without letting f(x) < 0. In that case the previous x estimate is multiplied by 1/𝛑 and used instead. This avoids problems with functions which have restricted input ranges. Here this same adjustment factor 1/𝛑 is also used to cope with rare divide by zero issues. An example of the bad effect of oscillations might be in solving the optimum trajectory for an aircraft landing approach. If a Solver was part of an aircraft control system then iterations that went temporarily below ground level would be undesirable. Label E can hold any equation to be solved. Note that some of the hp15C Owner's Handbook examples may require some extra ENTER statements at the beginning as the stack is expected to be filled with x. The open box example on page 189 requires three ENTER statements at the beginning.IntroductionThe following programs and program compilations have been prepared using Torstan Mantz's hp15c Simulator and Smultron a programming editor for macOS. The first 5 programs below are bonded collections of smaller programs. Calling the appropriate label will run the desired program. Themes include Maths, Cycling and Physics. Use the references in the documentation to find the original programs or use this index to find some others. Collections can be created using a simple text editor by cutting and pasting smaller programs into one file. The line numbering will be fixed once the Simulator saves the composite file. Documentation can be combined in a similar way, mostly by pasting lines beginning with #D: and adding new headings. Normally documentation is created with the Simulator editor and a final edit would be done there. Composite  12 programsComposite  12 programs  DownloadComposite  12 programs  Documentation
CurveP  J E Patterson
TVM  Accurate TVM  Jeff Kearns
HgCalP  J E Patterson
RGCalP  J E Patterson
Parallel Resistances  J E Patterson
Quadratic Equation Solver program for the hp15c  from Torsten Manz
Convert to Fraction  Guido Socher
Solve a System of Linear Equations  J E Patterson
EbikeMax  Ebike maximum speed from motor rpm  J E Patterson
Bike Power  J E Patterson
Bike Development  J E Patterson
Function tests  J E patterson
Maths1  8 ProgramsMaths1  8 Programs  DownloadMaths1  8 Programs  Documentation
CurveP  J E Patterson
Prime Factorization  Eddie Shore
Little Gauss formula for the hp15c  J E Patterson
TVM  Accurate TVM  Jeff Kearns
Quadratic Equation Solver program for the hp15c  from Torsten Manz
Convert to Fraction  Guido Socher
Solve a System of Linear Equations  J E Patterson
Nthdegree Polynomial Fitting  Valentín Albillo
Maths2  12 ProgramsMaths2  12 Programs  DownloadMaths2  12 Programs  Documentation
Gaussian Integration  Valentín Albillo
Decimal to Fraction  Joseph Horn
Base Conversion  Thomas Klemm
Prime Factorization  Eddie Shore
Numerical Derivative  Eddie Shore
Modulo  Gamo
Big Factorial program for the hp15c  Torsten Manz
2D Coordinate Rotation  Eddie Shore
Stair Calculation  Eddie Shore
Triangle Solution provided 2 sides and 1 angle  Gamo
RNEAR  Round to nearest 1/n  Eddie Shore, Dieter. Modified for hp15c  J E Patterson.
Hyperfocal Distance  Gamo, Dieter.
Physics1  8 ProgramsPhysics1  8 Programs  DownloadPhysics1  8 Programs  Documentation
1. Projectile Problem  Dr. D G Simpson
2. Kepler’s Equation  Dr. D G Simpson
3. Hyperbolic Kepler’s Equation  Dr. D G Simpson
4. Barker’s Equation  Dr. D G Simpson
5. Reduction of an Angle  Dr. D G Simpson
6. Helmert’s Equation  Dr. D G Simpson
7. Pendulum Period  Dr. D G Simpson
8. 1D Perfectly Elastic Collisions  Dr. D G Simpson
Bike1  4 ProgramsBike1  4 Programs  DownloadBike1  4 Programs  Documentation
EbikeMax  Ebike maximum speed from motor rpm  J E Patterson
Bike Power  J E Patterson
Bike Development  J E Patterson
Bike Speed  J E Patterson
StrayLightP  Stray light curve correction  J E PattersonStraylightP  Curve Fitting  DownloadStrayLightP  Stray light curve correction  Documentation Spectrophotometers have some stray light or detector dark current which causes the calibration to be non linear at high absorbances. This program corrects for the calibration curvature caused by the presence of stray light. CurveP  J E PattersonCurveP  Curve Fitting DownloadCurveP  Curve Fitting  Documentation The program fits data that may be linear at low x,y amplitudes but y falls off at higher x values. This is a common issue in many physical systems. x1, y1 should preferably be on the linear part of the curve. CurveP is not a regression. It assumes that the data is reasonably precise. Linear and power fit data sets also work well. Stat4P  Curve fitting with linear, logarithmic, power and exponential equations  J E PattersonStat4P  Statistical curve fitting  DownloadStat4P  Curve fitting with linear, logarithmic, power and exponential equations  Documentation This program provides linear, logarithmic, power and exponential regressions with a single entry of a data set.
Mercury vapour standard concentration ng/ml  J E PattersonHgCalP  Calibrate Mercury Analyser  DownloadHgCalP  Calibrate Mercury Analyser  Documentation The concentration of mercury vapour in air, above liquid mercury, depends on the temperature. A good calibration can be obtained using a simplified Dumarey equation. Reference: R. Dumarey, E. Temmerman, R. Dams, J. Hoste, Analyt. Chim. Acta 170, 337 (1985). ReactanceP  Reactance calculations, including inductor turns  J E PattersonReactanceP  Reactance calculations zipfile  DownloadReactanceP  Reactance calculations, including inductor turns  Documentation This program calculates solutions to common reactance problems and also allows an inductor to be specified. Solver is not needed to do reactance calculations. The equations can be solved directly. The advantage with using Solver is that programs can be shorter. The equations which follow are all used in this program. An unknown variable C, L or f can be calculated by entering it as zero.
The factor 5040 in front of the standard Wheeler formula corrects for henrys instead of microhenrys (1000) and mm instead of inches (5.04). This factor was wrongly set at 1000 in the initial version of this program. BisectionP Solver  Solver for hp programmable calculators  J E PattersonBisectionP  DownloadBisectionP  Documentation GSB A runs a self contained bisection solver which acts on f(x) = 0 under label E. This program is suitable for some calculators which don't include the hp Solver. Label E can hold any equation of the form f(x) = 0. Note that some of the hp15C Owner's Handbook examples may require some extra ENTER statements at the beginning as the stack is expected to be filled with x. The open box example on page 189 requires three ENTER statements at the beginning. SecantP  Solver for hp programmable calculators  J E PattersonSecantP  DownloadSecantP  Documentation GSB A runs a self contained secant solver which acts on f(x) = 0 under label E. This program is suitable for some calculators which don't include the hp Solver. This solver converges to the root without letting f(x) < 0. In that case the previous x estimate is multiplied by 1/𝛑 and used instead. This avoids problems with functions which have restricted input ranges. Here this same adjustment factor 1/𝛑 is also used to cope with rare divide by zero issues. An example of the bad effect of oscillations might be in solving the optimum trajectory for an aircraft landing approach. If a Solver was part of an aircraft control system then iterations that went temporarily below ground level would be undesirable. Label E can hold any equation to be solved. Note that some of the hp15C Owner's Handbook examples may require some extra ENTER statements at the beginning as the stack is expected to be filled with x. The open box example on page 189 requires three ENTER statements at the beginning.hp15c Program Examples  14 Programs  Download hp15c Program Examples  Documentation
Polygon inscribed in circle  J E Patterson
CurveP  J E Patterson
Dumarey equation. Mercury vapour standard concentration ng/ml  J E Patterson
Ebike maximum speed from motor rpm  J E Patterson
Fibonacci Number  J E Patterson
Function tests  J E Patterson
Mercury vapour standard concentration ng/ml  J E Patterson
Little Gauss formula for the hp15c  J E Patterson
Parallel Resistances  J E Patterson
RainGaugeCalP  J E patterson
hp15c random number simulator  J E patterson
Random7 Repeat RAN# n times  J E patterson
StrayLightP  Stray light curve correction  J E patterson
Test many functions  J E patterson
hp15c Owner's Handbook  14 Programs  Download hp15c Owner's Handbook  Documentation
Calculate time an object takes to fall to the ground
Mother's Kitchen, a canning company
Predict the diminishing radioactivity of a radioisotope
Slope of a secant line
Solve a system of linear equations
Solve a system of linear equations
Solving a system of linear equations
Cabbages and broccoli
Complex Matrix Transformations
Electric circuit analysis
Matrix function tests
Solve Example program for the hp15c
Throwing a ridget
Opentop box form problem
hp15c Advanced Functions Handbook  7 Programs  Download hp15c Advanced Functions Handbook  Documentation
Arctic explorer JeanClaude Coulerre in anticipation of the sun's reappearance
Design of a vertical broadcasting tower
Discounted cash flow analysis
Special functions for any argument x
Using Complex Mode
Calculating the nth Roots of a Complex Number
Solving an Equation for Its Complex Roots
hp15c Matrix test routines  2 Programs  Download hp15c Matrix test routines  Documentation
Matrix Example test 0  Function test  J E Patterson
Matrix Example test 0b  Function test  J E Patterson
hp15c Owner's Handbook Matrix examples  9 Programs  Download hp15c Owner's Handbook Matrix examples  Documentation
Solving a system of linear equations
Complex matrix in Z^{c} form converted to Z^{p} partitioned form
Electric circuit calculation
Make an identity matrix
Matrix Example test 5, Function test
Matrix Example test 5b, Function test
Cabbages and broccoli
Simple matrix divide test
Matrix division

JEPSPECTRO  Home Page Email: replace at with @ jepattersonatactrix.co.nz Links
SwissMicros DM15 Scientific Calculator ProgramsThe following material is intended for use with computers rather than phones or tablets. The hp15c Simulator at this stage only runs on a computer running Windows, Linux or macOS. Clicking on any of the following links will cause a ZIP file to be downloaded. The extracted folder contains hp15c program files, as well as documentation. Use the hp15c Simulator to open the program file, which can also be transferred to a SwissMicros DM15 calculator. Composite  12 programsMaths1  8 Programs Maths2  12 Programs Physics1  8 Programs Bike1  4 Programs StraylightP  Curve Fitting CurveP  Curve Fitting Stat4P.15c  Statistical curve fitting HgCalP  Calibrate Mercury Analyser ReactanceP.15c  Reactance calculations BisectionP  Root finding equation solver SecantP  Root finding equation solver hp15c Program Examples  14 Programs hp15c Owner's Handbook  14 Programs hp15c Advanced Functions Handbook  7 Programs hp15c Matrix test routines  2 Programs hp15c Owner's Handbook Matrix examples  14 Programs 