Hi, I'm working on a side project called a 'random circuit analyzer'. Essentially, with given information about randomly laid out conducting pieces (same material) across an area, I want to calculate the resistance from one end to the other (if there are any open paths). The resistance of each piece varies with its length (its 1D). I've taken a courses in electromagnetism, so I'm aware of the Kirchoff's Laws and basic circuit analysis. Before I start working on an algorithm, I was wondering if you guys do know any mathematical ways of analyzing complex circuits. There is only one power supply, and then there is a complex circuit (just many different paths). I was thinking of Fourier Series, but google didn't help much on the issue, so I thought I'd ask the experts. You do not need to explain it computationally, just an explanation on how you would break down a complex circuit to find the resistance across it would be great. Let me know if you need anymore information. Thanks a lot in advance!