Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculators Undetermined variable input for the ti89

  1. Jul 12, 2009 #1
    I'm trying to create a function that will calculate any amount of resistors in parallel but I do not know how to allow an undetermined amount of arguements for input (rather than a fixed amount). Basically it would look like this pll(R1,R2,R3,Rn) where Rn would be anything from R2 to R1000 or whatever. The equation is 1/(1/R1 + 1/R2 + 1/R3 + 1/Rn).
  2. jcsd
  3. Jul 12, 2009 #2
    Either use a list as an argument, or ask the user to input resistors in a loop
  4. Jul 12, 2009 #3
    How do I use a list as an argument?
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook