
Use the "up" and "down" keys to scroll through the current game's history. Results are displayed as B.W, with B the number of black pegs (right color AND right position), and W the number of white pegs (right color, wrong position).

Numbers can contain digits 1 to 6, with duplicates allowed. The classic Master Mind number-guessing game. I used this to test the "raw" mode program import/export in Free42. Not actually a functional program just contains all the HP-42S instructions with all legal types of arguments. If the vector's length is odd, its middle element will go on the diagonal if its length is even, the element just before the middle will go on the diagonal. Put the desired dimension in X, and put a vector containing the (off-)diagonal elements in Y. Modified version of PRM? works with binary math, enabling it to run on Free42 Binary.īefore using, store 2^20 in "E6" and 2^40 in "E12" (you can use 2^26 and 2^52, respectively, too that way the program can work with even larger numbers).Ĭonstructs band-diagonal matrices. NOTE: this program relies on decimal math, and will NOT produce correct results on Free42 Binary. Original version of Erik Ehrling's PRM? program. TOD: time of day (solar time, from 0-24, where 12 is noon solar time differs from official time, depending on where you are within your time zone) HGHT: height of the sun above the horizon, in degrees negative numbers mean nighttime. Variables used: TILT: the angle between the Earth's axis of rotation and the normal of the ecliptic (23.5 degrees) LAT: observer's latitude (use positive values for Northern latitudes, negative values for Southern latitudes) SEAS: the current season, given as an angle between 0 and 360 degrees, with 0 being mid-winter in the Northern hemisphere, 90 being the Northern Spring equinox, etc. SOLVE program to compute the height of the sun above the horizon. Coordinates should be entered in decimal degrees distance is computed in kilometers. SOLVE program to compute the Great Circle Distance between two points on the Earth. Set DEG mode in DPLOT, use YMIN=-1, YMAX=1, AXIS=0, XMIN=0, XMAX=180. Modified version of DPLOT like the original, with SOLVE support added.Ĭalculates sin(x) * sin(5*x).

Original version of DPLOT from the HP-42S manual. Set DEG and ALL modes in PLOT, use YMIN=-0.5, YMAX=2, AXIS=0, XMIN=-360, XMAX=360, XINC=45. Original version of MISCFN from the HP-42S manual.Ĭalculates (x/360) * sin(3*x) + 1 used to demonstrate the PLOT program. Modified version of PLOT like the original, with SOLVE support added. Original version of PLOT from the HP-42S manual.

Programs for Free42s/Hp42s (taken from Thomas Okken website): Trek Star Trek game written originally for the HP-42Sīlack Jack Black Jack game adatpted from the HP-41C The Caves Adaptation of a classic HP-41C game Okie Dokie Graphical puzzle game converted from the Atari 2600 Minehunt game Graphical minehunt game for the HP-42S Miller-Rabin Primality Test Primality test for integers up to 999 999 999 999.īig Factorial Aproximate factorials (N!) for N larger than 253.įind the root, min and max of a function using Newton's algorithmįind the roots of two nonlinear equations using Newton's algorithmįind the roots of several nonlinear equations using Newton's algorithm Prime Number Factorisation Factorises integers up to 99 999 999 QPI Approximate decimal numbers by fractions on various forms
#FREE42 DECIMAL SOFTWARE#
A great software repository for HP42s is the Mathematics
