Sparse Matrix Homework
Solve the equations for an electrical circuit consisting of only resistive elements.
Data
Files
In each data file:
(i) first line gives number of branches and number of loops in the circuit;
(ii) subsequent lines have the format:
1. Branch number
2. Numbers of the two nodes that the branch connects
3.
Numbers of the loops on the left and right sides of branch --- orientation is
from 1st node to 2nd
4. Resistance of the branch
5. Applied voltage drop along the oriented branch.
Circuit1
Circuit2