Anda di halaman 1dari 1

>> P=3000e3;

A=3.14e-4;
E=200e9;
L=0.025;
K=(E*A)/L
K=
2.512000000000000e+09
>> k=[K -K ; -K K]
k=
1.0e+09 *
2.512000000000000 -2.512000000000000
-2.512000000000000 2.512000000000000
>> k1=k;
>> k2=k;
>> kt=k1+k2
kt =
1.0e+09 *
2.512000000000000 -2.512000000000000 0
-2.512000000000000 5.024000000000000 -2.512000000000000
0 -2.512000000000000 2.512000000000000
>> kr=kt;
>> f=[0;P];
>> d=inv(kr)*f
d=
0.001194267515924
0.002388535031847
>> da=d;
>> esf=E/L*[-1 1]*da([1 2])
Esf1 =
9.554140127388535e+09
>> esf=E/L*[-1 1]*da([2 3])
Esf2 =
9.554140127388535e+09