Równania z I i II prawa Kirhchoffa:
10*i4 - 5 + 5*i5=0
20*i2 - 40 - 10*I4 - 15*I1=0
30 + 40 -20*i2 - 10*i3= 0
i4=i5+i1
i3=i1+i2
Po uporządkowaniu:
10*i4 + 5*i5=5
20*i2 - 10*I4 - 15*I1=40
20*i2 + 10*i3= 70
i1-i4+i5=0
i1+i2-I3=0
Zapisane macierzowo:
[tex]\left[\begin{array}{ccccc}0&0&0&10&5\\-15&20&0&-10&0\\0&20&10&0&0\\1&0&0&-1&1\\1&1&-1&0&0\end{array}\right] * \left[\begin{array}{c}i1&\\i2&\\i3&\\i4&\\i5&\end{array}\right] =\left[\begin{array}{c}5&\\40&\\70&\\0&\\0&\end{array}\right]\ \\\\ A*i=B\\i=A^{-1}*B\\\\\left[\begin{array}{c}i1&\\i2&\\i3&\\i4&\\i5&\end{array}\right] =\left[\begin{array}{c}0,1333&\\2,889&\\2,4222&\\0,3778&\\0,2444&\end{array}\right]\\[/tex]
Liczenie tego "na piechotę" nie ma sensu.