Equation Library Using the Formula Evaluation ROM
|
08-08-2017, 09:25 PM
(This post was last modified: 09-22-2017 09:23 PM by mfleming.)
Post: #1
|
|||
|
|||
Equation Library Using the Formula Evaluation ROM
One of the first applications I thought of after the announcement of Greg McClure and Angel Martins Formula Evaluation ROM was an Equation Library similar to that of the HP48. Since the ROM can evaluate symbolic expressions, and one example used in the manual was solving an expression for an unknown variable, then why not create a program that could access, display and solve a collection of such expressions? Thanks to assistance from Greg and Angel, that possibility is incorporated in the EQNLIB program and manual attached here. An initial library of twelve equations is provided, but additional equations can be easily added to the library. The program allows you to scroll through the equations by name or expression, select one of interest, and then use a menu to set variable values and solve for unknowns. In addition to the manual that contains code listings, an accompanying ZIP file contains the .RAW files for the main EQNLIB program and support programs. Use the RAW files to try out the Equation Library in a compatible emulator like V41 or go41cx. For V41 add the Formula Evaluation 1F MOD file to your configuration. For go41cx, use one of the MOD files Greg has posted in the forum thread HP-41 Android AMC OSX Module CAT1. Use the INIEQN program to initialize the library in extended memory and APPEQN to add your own equations. Another auxiliary program, SAR (Search and Replace), has proved useful enough during development to include the code listing here. The program can be used to search for and replace strings in an extended memory text file. Very helpful when entering formula special characters in a text file if you don't have Angel's patched ED program handy! Code:
Enjoy! ~Mark ================================================ Update: September 8, 2017 The updated version of the Equation Library is now supplied as a MOD and ROM file! This new version offers the ability to use a pair of formulas in a complex equation that can't fit the 24 character limit of a single formula. Greg supplies a nice example using the TVM equation that benefits from the expanded capability. The manual also expands on directions to use the Formula Evaluation ROM-based Equation Library with the V41 and go41cx/cxt emulators. More information is also provided on creating your own custom library of equations. Attached is revision B of the Equation Library manual plus a zip file containing the MOD and ROM files for the library. In addition, the previously mentioned MOD file for go41 by Greg McClure is also included for convenience. Remember kids, "In a democracy, you get the government you deserve." |
|||
08-08-2017, 10:07 PM
Post: #2
|
|||
|
|||
RE: Equation Library Using the Formula Evaluation ROM
Congratulations Mark on a nice application of the EVAL ROM! I have been using it and find it very useful to solve for equations I use. The documentation is nice, and I always appreciate it when source code is part of the documentation.
Good job, and I look forward to future software endeavors from you! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)