summaryrefslogtreecommitdiff
path: root/564/CH5/EX5.8/5_8.sce
blob: ff68c2399adabceb13b98fd7243f36e9132011b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pathname=get_absolute_file_path('5_8.sce')
filename=pathname+filesep()+'5_8data.sci'
exec(filename)
L1=[L;L;L;1.41*L;1.41*L;L];
F0=[0 0 -P 0 1.41*P 0];
F1=[-0.71;-0.71;-0.71;1;1;-0.71];
for i=1:6
    X(i)=F0(i)*F1(i)*L1(i);
    X1(i)=F1(i)*F1(i)*L1(i);
end
XBD= -sum(X)/sum(X1);
Fa=[-XBD/1.41;-XBD/1.41;((XBD/1.41)+1);XBD;-(((XBD/1.41)+1))*1.41;-XBD/1.41];
disp("Forces in the Mambrane are:");
printf("\n %f N",Fa)