The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
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
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

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-41: Updated Formula Evaluation Module - Ángel Martin - 07-03-2017 11:28 AM



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