Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

MATLAB Command Window Page 1

>> %Diketahui
A = [-2.064, 1, 0, 1, 0, 0, 0, 0, 0;
1, -4.128, 1, 0, 2, 0, 0, 0, 0;
0, 1, -2.128, 0, 0, 1, 0, 0, 0;
1, 0, 0, -4, 2, 0, 0, 0, 0;
0, 1, 0, 1, -4, 1, 0, 0, 0;
0, 0, 1, 0, 2, -6.128, 1, 0, 0;
0, 0, 0, 0, 0, 1, -4.128, 1, 0;
0, 0, 0, 0, 0, 0, 1, -4.128, 1
0, 0, 0, 0, 0, 0, 0, 1, -2.064]
C = [-11.2; -22.4; -12.8; -109.2; -109.2; -212; -202.4; -202.4; -105.21]

%Ditanyakan T

%Jawaban
T = inv(A)*C

A =

-2.0640 1.0000 0 1.0000 0 0 0 0


0
1.0000 -4.1280 1.0000 0 2.0000 0 0 0
0
0 1.0000 -2.1280 0 0 1.0000 0 0
0
1.0000 0 0 -4.0000 2.0000 0 0 0
0
0 1.0000 0 1.0000 -4.0000 1.0000 0 0
0
0 0 1.0000 0 2.0000 -6.1280 1.0000 0
0
0 0 0 0 0 1.0000 -4.1280 1.0000
0
0 0 0 0 0 0 1.0000 -4.1280
1.0000
0 0 0 0 0 0 0 1.0000
-2.0640

C =

-11.2000
-22.4000
-12.8000
-109.2000
-109.2000
-212.0000
-202.4000
-202.4000
-105.2100
MATLAB Command Window Page 2

T =

112.1022
110.7861
106.5534
109.3929
108.1346
103.1596
97.3393
96.2571
97.6100

>>

You might also like