series             package:ResistorArray             R Documentation

_C_o_n_d_u_c_t_a_n_c_e _m_a_t_r_i_x _f_o_r _r_e_s_i_s_t_o_r_s _i_n _s_e_r_i_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Conductance matrix for resistors of arbitrary resistance in series

_U_s_a_g_e:

     series(x)

_A_r_g_u_m_e_n_t_s:

       x: The resistances of the resistors.

_D_e_t_a_i_l_s:

     *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.

_A_u_t_h_o_r(_s):

     Robin K. S. Hankin

_S_e_e _A_l_s_o:

     'cube'

_E_x_a_m_p_l_e_s:

     ## 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.

