HP-41: Updated Formula Evaluation Module
07-03-2017, 11:28 AM (This post was last modified: 07-03-2017 11:39 AM by Ángel Martin.)
Post: #1
 Ángel Martin Senior Member Posts: 1,305 Joined: Dec 2013
HP-41: Updated Formula Evaluation Module
A good thing just got much better: A new revision of the Formula Evaluation Module is now available. Revision 1E extends and expands on the formula evaluation capabilities, mostly by adding routines to perform sums, series, products, and general-purpose test comparisons.

1. Calculating sums and series is just a matter of typing the initial and final index and general term in ALPHA, then "EVALS" does the job.
Example: "SUM(1;25;1/X)" returns the harmonic number for n=25

2. Calculating finite and infinite products is very much the same thing, only using "EVALP" instead.
Example: "P(1;6;X)" returns 6! = 720

3. Testing for general-purpose comparisons (say "X+Y^2 <= X*Z") is also an easy affair using "EVAL?". Any expression supported by EVAL$can be used on each of the two strings to be compared. 4. If this wasn't enough, meet "EVALXM" - a powerful routine to interpret scripts from an ASCII file containing any of the EVAL functions, including EVALS, EVALP and EVAL? To make room for the new additions all the example applications have been moved to a dedicated ROM, the EVAL_APPS, including more advanced examples like Combinations/Permutations, the Gamma, Digamma, and Lambert functions; Orthogonal Polynomials evaluation and much more - all using straight ALPHA expressions for the calculation via EVAL$.

If you liked the first revision then you can't miss this new one. Hopefully soon at a TOS and CL-Library near you, including the updated manual with plenty of examples added in.

Cheers,
ÁM
07-08-2017, 06:24 AM (This post was last modified: 07-09-2017 06:24 AM by Ángel Martin.)
Post: #2
 Ángel Martin Senior Member Posts: 1,305 Joined: Dec 2013
RE: HP-41: Updated Formula Evaluation Module
Updated manual and MOD file already available at TOS - see the "What's New" section.
Revision 1E

Edit: also available at : http://systemyde.com/hp41/documents.html
07-19-2017, 08:38 PM
Post: #3
 JurgenRo Member Posts: 176 Joined: Jul 2015
RE: HP-41: Updated Formula Evaluation Module
Just found it! Wow, this is cool and extremely useful! Great! Have to check it. Thank you Angel!
Jürgen
 « Next Oldest | Next Newest »

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