For the *historical record* and in order to *preserve* my earliest and/or unreleased efforts in the wonderful world of *HP* programmable calculators and pocket computers, here you'll find a selection of **HP programs** I wrote for various *HP* models ranging in capabilities from the *HP-25* to the *HP-71B*.

The **HP-25** programs are for the most part (not all) quite simple affairs, written just for practice and never intended for release, as back in 1975 I was learning programming techniques (the *HP-25* was my very first programmable calc) and the *HP-25* was slow and had very little RAM (49 steps, 8 registers) as well as a very limited programming paradigm (no labels, no subroutines, no flags), so don't expect anything too sophisticated (though there are a few surprises). That said, I think they're still quite enjoyable and fun to check and even convert to run on other devices.

On the other hand, most subsequent *HP* models (such as the **HP-11C**, **HP-67**, **HP-34C**, **HP-41C**, etc., let alone the **HP-71B** !) had much more RAM for both programs and data and also advanced programming capabilities, so the programs I wrote for them take full advantage of that and are *significantly more complex and capable*, no longer "practice" ones. Some of them were published in the past in physical media (paper magazines, solution books, CD/DVD/USB pendrives), which would-be readers (even the authors themselves) had to *pay* for, but now for the first time they'll be available to download *for free*, as will existing but still *unpublished* programs or even ** new** programs I might write now and in the foreseeable future. Stay tuned !

- Download: HP Program VA251 - HP-25 Solving 2nd-order differential equations.pdf (576 KB)
- MD5 Checksum: ff9731692d7e54802e040dc486d81090
- Pages: 3

3-page paper featuring a 37-step RPN program for the **HP-25** to numerically solve 2nd-order differential equations of the form **y”=f(x,y)** subject to initial conditions, using the 5th-order *predictor-corrector Numerov’s method*. One worked example included.

- Download: HP Program VA252 - HP-25 Gamma Function and Factorials.pdf (668 KB)
- MD5 Checksum: cece292c3a3d619d753471ec2ec49bcc
- Pages: 2

2-page paper featuring a 49-step RPN program for the **HP-25** to accurately evaluate the **Gamma function** in the interval [1, 2], as well as approximate factorials for real-valued x. Three worked examples included.

- Download: HP Program VA341 - HP-34C Loan Amortization Schedule.pdf (394 KB)
- MD5 Checksum: 0b2c58cca514a19e255f0d03aa73eae7
- Pages: 2

2-page paper featuring a 70-step RPN program for the **HP-34C** to generate either a complete amortization schedule showing each period of a fully amortized loan or a partial schedule between two given periods. One worked example is included.

- Download: HP Program VA342 - HP-34C Summation of Alternating Series.pdf (660 KB)
- MD5 Checksum: d54d51e59f5a555a74336f3fba92e5e4
- Pages: 3

3-page paper featuring an 84-step RPN program for the **HP-34C** to quickly and accurately find the sum of infinite alternating series, even divergent ones *(Euler sum)*. Three worked examples are included.

- Download: HP Program VA343 - HP-34C Double Integrals.pdf (628 KB)
- MD5 Checksum: 3eeb8c383e68762b3e880a0fc4140df3
- Pages: 3

3-page paper featuring a 67-step RPN program for the **HP-34C** to compute the numeric value of a definite double integral of a user-specified *f(x,y)* between given limits. Four worked examples are included.

- Download: HP Program VA411 - HP-41C Finding Roots of Equations.pdf (619 KB)
- MD5 Checksum: 29855b819d7e9a9ac57b0d7a4b78930f
- Pages: 4

4-page paper featuring a 42-step RPN program for the **HP-41C** to find real roots of an arbitrary user-supplied equation **f(x)=0** using *Newton’s method* and a user-given initial guess. Interactive and non-interactive versions provided. Five worked examples included.

- Download: HP Program VA412 - HP-41C Finding Extrema of Functions.pdf (770 KB)
- MD5 Checksum: 9cba799e00b1de8ba6b021c28a9e2033
- Pages: 3

3-page paper featuring a 28-step RPN program for the **HP-41C** to find extrema (maxima and/or minima) of an arbitrary user-supplied function *y=f(x)* by calling program *RF (Root Finder)* internally as part of the computation. Two worked examples are included.

- Download: HP Program VA413 - HP-41C 3-point Gaussian Integration.pdf (611 KB)
- MD5 Checksum: 91abfefe8ab0cf12face481d71b5ec0d
- Pages: 3

3-page paper featuring a 55-step RPN program for the **HP-41C** to evaluate the definite integral between given limits of an arbitrary user-supplied function **f(x)** using the fast 3-point *Gauss-Legendre* quadrature formula applied over a number of subintervals. Three worked examples included.

- Download: HP Program VA418 - HP-41C Memory Game and Trainer.pdf (505 KB)
- MD5 Checksum: 46ee2647d25ddaf0b5afd8828007bfec
- Pages: 3

3-page paper featuring a 142-step fun game RPN program for the **HP-41C** to challenge your memory by testing your ability to remember what you’ve just seen and offering afterwards an accurate comment on your performance.

- Download: HP Program VA419 - HP-41C ESP Tester.pdf (521 KB)
- MD5 Checksum: c1954afd5e757b042c5e4eb8a3f139f9
- Pages: 2

2-page paper featuring an 85-step fun RPN program for the **HP-41C** to test your *“ESP” (Extra-Sensorial Powers)* by conducting a series of 10 tests, after which it reports the % of success and an evaluation of your alleged extrasensorial abilities (if any). One sample run included.

- Download: HP Program VA711 - HP-71B Exact Integer Determinants and Permanents.pdf (536 KB)
- MD5 Checksum: 8ae38895e5d225ee290e01e88aa9ebda
- Pages: 3

3-page paper featuring a 5-line BASIC subprogram for the **HP-71B** to evaluate determinants and permanents for real or complex NxN matrices. Unlike other methods where floating-point divisions are involved, if the elements are moderately-sized integers the integer results will be exact, even for singular or very ill-conditioned matrices. Two worked examples are included.

These articles, programs, pictures, their descriptions and other materials created by me are (c) Valentin Albillo, and can be used freely for non-profit purposes as long as (1) the contents aren't modified in any way and (2) the copyright is acknowledged.

In plain words, you can download them and use them for non-profit purposes but do not include them in any media and/or site for which you're asking money, do not tamper with their contents and do not say or imply that you created them or that you don't know who created them, you must always give due credit to the copyright holder (that's me).