series {ResistorArray} | R Documentation |
Conductance matrix for resistors of arbitrary resistance in series
series(n, x = 1)
n |
Number of resistors. See details. |
x |
The resistances of the resistors. Either a scalar, or a
vector of length n is assumed but standard recycling
is used. |
Note: the function returns a conductance matrix of size
n+1
by n+1
, because n
resistors in series have
n+1
nodes to consider.
Robin K. S. Hankin
## Resistance of four resistors in series: resistance(series(5),1,5) ##sic! FOUR resistors have FIVE nodes ## What current do we need to push into a circuit of four equal ## resistors in order to maintain the potentials at 1v, 2v, ..., 6v? circuit(series(5),v=1:6)