Post Reply 
Solver (17BII, 27S, etc) equation with multiple outputs
02-21-2023, 03:34 PM
Post: #4
RE: Solver (17BII, 27S, etc) equation with multiple outputs
Dave,

Thanks very helpful! I forgot that you can retrieve intermediate values using RCL.

I like your second approach best though, using the S() expression. The equation as you wrote it didn't validate at first, but then I figured, from reading the Don Shepherd additional material in Martin Hepperle's version of the Solver documentation, that the expressions in the two branches of the S() should be treated as having an implicit =0. So instead of writing "DBGAIN=20*LOG(VOUT/VIN)", you have to write "20*LOG(VOUT/VIN)-DBGAIN". In full:

GAIN:IF(S(DBGAIN):20×LOG(VOUT/VIN)-DBGAIN:(VOUT/VIN)-VGAIN)

Thanks again
Rob

Rob
35, 12C, 17BII, 27S, 28S, 32SII, 48G, 49G, 50G, 35S.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Solver (17BII, 27S, etc) equation with multiple outputs - robjordan - 02-21-2023 03:34 PM



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