Description Usage Arguments Details Author(s) See Also Examples
Conductance matrix for resistors of arbitrary resistance in series
1 | series(x)
|
x |
The resistances of the resistors. |
Note: if length(x)=n
, 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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Resistance of four resistors in series:
resistance(series(rep(1,5)),1,5) ##sic! FOUR resistors have FIVE nodes
## What current do we need to push into a circuit of five equal
## resistors in order to maintain the potentials at 1v, 2v, ..., 6v?
circuit(series(rep(1,5)),v=1:6) #(obvious, isn't it?)
## Now, what is the resistance matrix of four nodes connected in series
## with resistances 1,2,3 ohms?
Wu(series(1:3)) #Yup, obvious again.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.