Please only solve this using MATLAB Do not do it by hand Tha


Please only solve this using MATLAB
Do not do it by hand!

Thanks!
32.) Solve the following system of five linear equations: 3 u + 1.5v + w + 0.5x + 4y =-11.75 -2u + v + 4w-3.5x + 2y = 19 6u-3v + 2w + 2.5x + y =-23 u+4v_3w + 0.5x-2y =-1.5 3x+2v-w+1.5x-3y =-3.5

Solution

>> A=[3 1.5 1 .5 4;
-2 1 4 -3.5 2;
6 -3 2 2.5 1;
1 4 -3 .5 -2;
3 2 -1 1.5 -3]

A =

3.0000 1.5000 1.0000 0.5000 4.0000
-2.0000 1.0000 4.0000 -3.5000 2.0000
6.0000 -3.0000 2.0000 2.5000 1.0000
1.0000 4.0000 -3.0000 0.5000 -2.0000
3.0000 2.0000 -1.0000 1.5000 -3.0000

>> b=[-11.75;19;-23;-1.5;-3.5]

b =

-11.7500
19.0000
-23.0000
-1.5000
-3.5000

>> inv(A)*b

ans =

-4.0000
2.5000
4.0000
1.0000
-2.0000

 Please only solve this using MATLAB Do not do it by hand! Thanks! 32.) Solve the following system of five linear equations: 3 u + 1.5v + w + 0.5x + 4y =-11.75

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site