Post Reply 
Plus42 Equations, Preview Release
05-01-2022, 10:27 AM
Post: #576
RE: Plus42 Equations, Preview Release
(05-01-2022 10:16 AM)Marco Polo Wrote:  I am trying to make an equation that, when solved (CALC), automatically initialize the variables with a number with unit.
I could not yet figure how to do.

The direct solver will do that; in fact, it will even populate the variable being solved for with a complex number, if that's what happens to come out of the equation.

But with the numerical solver, all parameters must have initial values provided by the user, even the one being solved for. Normally, the numerical solver will use 0 and 1 if no starting guesses are provided (or X and X*1.000001 if only one starting guess is provided), but if the variable being solved for requires a unit, it must be provided by the user, because the numerical solver cannot work out what the unit should be by itself.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Thomas Okken - 05-01-2022 10:27 AM



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