You are on page 1of 1

a = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,-3,1,0,0,1/2,0,0,0,0,0,0,0,0,0;
0,1,0,0,1,-4,1,00,1,0,0,0,0,0,0,0,0;
0,0,1,0,0,1,-4,1,0,0,1,0,0,0,0,0,0,0;
0,0,0,1,0,0,1,0,0,0,0,1,0,0,-12,0,0,0;
0,0,0,0,1/2,0,0,0,-3,1,0,0,1/2,0,0,0,0,0;
0,0,0,0,0,1,0,0,1,-4,1,0,0,1,0,0,0,0;
0,1,0,0,0,0,2,0,0,1,-12,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,1,0,0,1,-10,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,1/2,0,0,0,-3,1,0,1/2,0,0;
0,0,0,0,0,0,0,0,0,1,0,0,1,-4,1,0,1,0;
0,0,0,0,0,0,0,0,0,0,1,0,0,2,-12,0,0,1;
0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,-10,1,0;
0,0,0,0,0,0,0,0,0,0,0,0,0,-2,0,1,-12,1;
0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,-10;]

b = [0;0;0;0;-40;0;0;-960;0;0;-1440;8;0;0;-960;-480;-1440;-8]

x = inv(a)*b