Solving resistor networks using MathJS or Numerics or function matrix_invert(M)
Fremont Teng; Loo Kang Wee