Professional Documents
Culture Documents
Latihan Pemrograman Komputer 4
Latihan Pemrograman Komputer 4
LATIHAN 4
PEMROGRAMAN MATLAB – STATIKA UNTUK PERLETAKAN
P1=802 73 T P2=802 73 T
∑MB = 0
VA (L1+L2+L3) – P1 (L2+L3) – P2.L3 = 0
VA.249 – 80273 (166) – 80273 (83) = 0
VA=80273 Ton
∑MA = 0
-VB (L1+L2+L3) + P2 (L1+L2) + P1.L1 = 0
-VB.249 + 80273x166 + 80273x83 = 0
VB = 80273 Ton
B. Matlab Code:
P1=P2=80273;
L1=L2=L3=83;
VA1=((P1*(L2+L3))+P2*L3)/(L1+L2+L3)
VB1=((P2*(L1+L2))+P1*L1)/(L1+L2+L3)
P1=20000;
P2=50000;
L1=20;
L2=50;
L3=30;
VA2=((P1*(L2+L3))+P2*L3)/(L1+L2+L3)
VB2=((P2*(L1+L2))+P1*L1)/(L1+L2+L3)
x=[1:4];
y=[VA1,VB1,VA2,VB2];
plot(x,y)
axis ([0 6 30000 81000])
Tambahkan title, legend, dan ylabel dengan menggunakan kode