The mechanical solution of simultaneous equations