Description
Compute total resistance of a cube of resistors.
Description
This is an example of how to compute the total resistance of a non-trivial circuit of resistors. It demonstrates how to build the necessary matrix. We obtain the voltages and currents by solving simultaneous linear equations according to this matrix.
For an explanation see http://code.henning-thielemann.de/bob2019/main.pdf.
For a generalized version see the tests of the
linear-circuit
package.