Post Reply 
WP34S - f SLV used with user selectable variables
04-27-2015, 03:47 PM (This post was last modified: 04-29-2015 12:14 AM by CR Haeger.)
Post: #1
WP34S - f SLV used with user selectable variables
Hello,

I am looking for a way to use the WP34S and f SLV to solve for a user select-able variable in an equation. As a test example, I wrote a short routine (A) that allows for solving for R1, R2 or Req in a parallel resistor equation. I am not sure if this is a practical or the most user friendly way to do this. Feel free to comment, correct or upgrade this!

Code:

Solves for R1, R2 or Req where Req = 1/(1/R1 +1/R2)
R00:  Input register (variable) to solve for (1,2 or 3)
R01:  R1 value
R02:  R2 value
R03:  Req value

LBL A          //  Label A
STO → 00          //  Stores current x value into Rxx using value stored in R00
RCL 01          //  R1
RCL 02          //  R2
||          //  1/(1/R1 +1/R2), keystrokes: g ÷
RCL 03          //  Req
-          //  1/(1/R1 +1/R2) - Req
RTN          //


1000 STO 01 700 STO 03 // store known values (R1, Req in this case)
2 STO 00 // variable to solve for (R2)
1000 5000 f SLV A //initial guesses and then solve A
⇒ 2333.33 // solution 700 =1/(1/1000 +1/2333)
Find all posts by this user
Quote this message in a reply
04-27-2015, 10:15 PM
Post: #2
RE: WP34S - f SLV used with user selectable variables
It appears that you are not the first one with this idea:
TECHNIQUE: 'SOLVE' AND 'INTEG' WITH "MISO" USER FUNCTIONS ON THE 34C/15C/41C

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
04-28-2015, 11:51 AM
Post: #3
RE: WP34S - f SLV used with user selectable variables
(04-27-2015 10:15 PM)Thomas Klemm Wrote:  It appears that you are not the first one with this idea:
TECHNIQUE: 'SOLVE' AND 'INTEG' WITH "MISO" USER FUNCTIONS ON THE 34C/15C/41C

Cheers
Thomas

Thank you for the great article link!

I certainly expected that these techniques had been developed a while ago - and more fully than my quick attempt above.

I especially find the use of this technique to INTEGRATE (versus SOLVE) with respect to a chosen variable very interesting.

Best,
Carl
Find all posts by this user
Quote this message in a reply
Post Reply 




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