week 5 solution of system of linear algebraic equations