Undetermined variable input for the ti89

  • Context: Calculators 
  • Thread starter Thread starter Yottavolt
  • Start date Start date
  • Tags Tags
    Input Variable
Click For Summary
SUMMARY

The discussion focuses on creating a function for the TI-89 calculator that calculates the total resistance of multiple resistors in parallel. The user seeks to implement a method for accepting an undetermined number of resistor inputs, specifically using a list as an argument. The formula for calculating total resistance is established as 1/(1/R1 + 1/R2 + 1/R3 + ... + 1/Rn). Solutions proposed include utilizing lists or prompting user input in a loop to gather resistor values.

PREREQUISITES
  • Familiarity with TI-89 programming syntax
  • Understanding of parallel resistor calculations
  • Knowledge of list data structures in programming
  • Basic experience with user input handling in TI-89 functions
NEXT STEPS
  • Research how to implement list arguments in TI-89 programming
  • Learn about loops for user input in TI-89 functions
  • Explore advanced mathematical functions on the TI-89
  • Study examples of parallel resistor calculations in programming
USEFUL FOR

Electronics students, TI-89 users, and anyone interested in programming mathematical functions for calculators.

Yottavolt
Messages
2
Reaction score
0
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 arguments 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).
 
Computer science news on Phys.org
Either use a list as an argument, or ask the user to input resistors in a loop
 
How do I use a list as an argument?
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 60 ·
3
Replies
60
Views
10K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K