Post Reply 
Example of MISO solver for WP 34s
05-23-2018, 07:36 PM
Post: #5
RE: Example of MISO solver for WP 34s
(05-23-2018 05:47 PM)burkhard Wrote:  3. Your using a negative number as a flag to mean ""Solve for me!" was clever and sensible for this specific example. One can't get away with that always, though...

I just noticed that even in the given example equation one of the variables (S) may be negative. So there has to be a workaround. The original program prompts for S as the first variable, and when the solver starts it does not check if a negative value has been entered (instead it solves for S). This is a possible solution for this particular case. My program version (which checks if the user has selected a variable) can not handle negative S values. It assumes that all data is non-negative.

So there should be a better solution for flagging the variable to solve for. I have been thinking about several methods, but none is really convincing. Maybe someone has a better idea?

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Example of MISO solver for WP 34s - Dieter - 05-23-2018 07:36 PM



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