Solver (17BII, 27S, etc) equation with multiple outputs
|
02-21-2023, 04:30 PM
Post: #5
|
|||
|
|||
RE: Solver (17BII, 27S, etc) equation with multiple outputs
(02-21-2023 03:34 PM)robjordan Wrote: Dave, Oops, my mistake. Forgot you couldn't put = inside the IF() function like that. But yes, any equation without = in it is treated as solving for zero, so you can just subtract one side from the other like you've demonstrated. I've also taken advantage of that behavior to make unit conversion formulas where you can input any one variable and solve for any other, e.g.: .0254*(IF(S(IN):-1:1)*IN+IF(S(FT):-1:1)*FT*12+IF(S(YD):-1:1)*YD*36+IF(S(MI):-1:1)*MI*63360)+IF(S(MM):-1:1)*MM/1000+IF(S(CM):-1:1)*CM/100+IF(S(M):-1:1)*M+IF(S(KM):-1:1)*KM*1000 Essentially, use S() to multiply the variable you're solving for by -1 to isolate it from all the other variables. Make sure you do CLEAR DATA to zero out all the unused variables first, or it will convert the sum of all the entered variables to the one you're solving for. (Though maybe that's what you want at times!) |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Solver (17BII, 27S, etc) equation with multiple outputs - robjordan - 02-18-2023, 09:49 AM
RE: Solver (17BII, 27S, etc) equation with multiple outputs - robjordan - 02-18-2023, 09:58 AM
RE: Solver (17BII, 27S, etc) equation with multiple outputs - Dave Britten - 02-21-2023, 02:08 PM
RE: Solver (17BII, 27S, etc) equation with multiple outputs - robjordan - 02-21-2023, 03:34 PM
RE: Solver (17BII, 27S, etc) equation with multiple outputs - Dave Britten - 02-21-2023 04:30 PM
|
User(s) browsing this thread: 1 Guest(s)