blob: a02ead6f35504a0e747f924760850764333ddf64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
pathname=get_absolute_file_path('23_1.sce')
filename=pathname+filesep()+'23_1data.sci'
exec(filename)
clear
for i=1:6
I(i)=B(i)*y(i)*y(i);
end
Ixx=sum(I);
for i=1:6
S(i)=(Mx/Ixx)*y(i);
end
printf("\nσz: %f N/mm^2",S);
|