0% found this document useful (0 votes)
12 views

Assignment 2

Uploaded by

Masika Apophia
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Assignment 2

Uploaded by

Masika Apophia
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

MATLAB Command Window Page 1

>> matlacw

matrix =

1.0000 0 1.0000 0 0 0 0
0 1.0000 0 1.0000 0 0 0
-3.0000 0 -1.3300 2.5000 0 0 1.0000
0 0 -1.0000 0 1.0000 0 0
0 0 0 -1.0000 0 1.0000 0
0 0 5.2135 -7.3362 -9.5841 4.7576 0
0 0 0 0 -0.2000 1.0000 0

RHmatrix =

-12.0346
-7.2311
-0.5000
-45.0141
0.7617
-13.6360
0

invmatrix =

1.0000 0 0 2.0670 -1.5014 0.2047 0.5277


0.0000 1.0000 0.0000 0.2134 0.6997 0.0409 -0.8945
0.0000 0 0.0000 -2.0670 1.5014 -0.2047 -0.5277
-0.0000 0 -0.0000 -0.2134 -0.6997 -0.0409 0.8945
0.0000 0 0.0000 -1.0670 1.5014 -0.2047 -0.5277
-0.0000 0 -0.0000 -0.2134 0.3003 -0.0409 0.8945
3.0000 0 1.0000 3.9853 -0.7580 0.4441 -1.3549

solution =

-109.0116
-16.8620
96.9770
9.6309
51.9629
10.3926
-222.6326

>>

You might also like