Interchangable Solutions using Formula EVAL Module
|
07-30-2017, 10:27 PM
(This post was last modified: 07-31-2017 04:58 AM by gjmcclure.)
Post: #2
|
|||
|
|||
RE: Interchangable Solutions using Formula EVAL Module
After posting LIBSV$ above I took another look at it and realized I didn't like having to have a different equation for each variable to be solved. Going back to the original SLV+ from the Interchangable Solutions, I realized that FROOT still needs to be called. But a couple things can be done to make equation entry easier... so here is the revised routines.
FROOT can either be from SIROM or from SMATH modules. In fact you can still use the SLV+ from interchangeable solutions, but I added a couple labels to allow entry of a different equation (LBL F), and easy exit with restore of user key assignments (LBL J). However, the user equations need to be written differently to take advantage of EVAL$. Here are the revised routines: Quote:01 LBL "SLVEQ$" I have included a ZIP file with the above TXT file and RAW files. As you can see, setting up the user equation is easier (just one line for EVAL$ to use). Use a thru e for the 5 parameters, use right_side - left_side for the equation to evaluate with EVAL$. Be sure to add XEQ "2B7" before doing EVAL$ to insure a thru e are filled in. Greg |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Interchangable Solutions using Formula EVAL Module - gjmcclure - 07-28-2017, 10:00 PM
RE: Interchangable Solutions using Formula EVAL Module - gjmcclure - 07-30-2017 10:27 PM
RE: Interchangable Solutions using Formula EVAL Module - gjmcclure - 08-10-2017, 02:32 PM
|
User(s) browsing this thread: 1 Guest(s)