Compute total resistance of a cube of resistors

Version on this page:
LTS Haskell 19.33:
Stackage Nightly 2023-06-04:
Latest on Hackage:

See all snapshots resistor-cube appears in

BSD-3-Clause licensed by Henning Thielemann
This version can be pinned in stack with:resistor-cube-,1344

Module documentation for

There are no documented modules for this package.

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.