Programs
These are some program examples for the HP-15C. All listings are created with the HP-15C Simulator's program documentation feature.
More programs are available in the Program Examples package.
- Big Factorial
This program computes the factorial of large numbers up to 1 x 108.
- Display Control Demonstration
This program demonstrates the appearance of the FIX 9 through FIX 0 display settings.
- Greatest Common Devisor, Least Common Multiple, Fraction Finder
This program computes the greatest common divisor and the least common multiple of two integers. It can also find the numerator and denominator of a fraction to approximate a real number.
- Julian Date from Gregorian Date
Computes the Julian Date from a given Gregorian Date.
- Little Gauss
This program computes the sum of the numbers between 1 and a given integer
n
. - Natural Log of Gamma (complex)
This program computes the Natural Log of the Gamma Function for complex numbers.
- Moonlanding
This program simulates landing a rocket on the moon.
- Nimb Game
The Object of the game is to get your opponent take the last match stick.
- Quadratic Equation Solver
This program finds the roots of a quadratic equation of the form
ax2 + bx + c = 0
. - Sudoku Solver
Computes the solution for a Sudoku game.
- Time Value of Money
This program computes the time value of money similar to the HP-12C financial calculator.