If you want an easy out, google matrix solvers...and go from there..