% matlab script to solve linear equations
% for assignment 3 problem 4

R = [ -1  1  0  0  0  0  0  0 ;
       0  1  1  0  0 -1  0  0 ;
       0  0 -1 -1  0  0  0  1 ;
       0  0  0  0  0  1  1 -1 ;
       0  0  0  1 -1  0 -1  0 ;
       0 -7  5 -2 -3  0  0  0 ;
       0  0  5  0  0  6  0  0 ;
       0  0  0  2  0  0  5  0 ]

V = [ 1/6 0 0 0 0 -5 -8 8 ]'

I = R \ V

 
