Compute total resistance of a cube of resistors http://hub.darcs.net/thielema/resistor-cube
|Latest on Hackage:||0.0.0.3|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
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. The computed voltages and currents are elements of the null vector of that matrix.
For a generalized version see the tests of the