Beruflich Dokumente
Kultur Dokumente
E(1,1)=input('xx = ');
E(1,2)=input('xy = ');
E(1,3)=input('xz = ');
E(2,2)=input('yy = ');
E(2,3)=input('yz = ');
E(3,3)=input('zz = ');
I1=E(1,1)+E(2,2)+E(3,3);
I2=-(det([E(1,1) E(1,2); E(1,2) E(2,2)]))-(det([E(1,1) E(1,3); E(1,3) E(3,3)]))-
(det([E(2,2) E(2,3); E(2,3) E(3,3)]));
I3=det([E(1,1) E(1,2) E(1,3);E(1,2) E(2,2) E(2,3);E(1,3) E(2,3) E(3,3)]);
fprintf('I1 = %.3f\n', I1)
fprintf('I2 = %.3f\n', I2)
fprintf('I3 = %.3f\n', I3)
k1=1/sqrt(A1^2+B1^2+C1^2);
k2=1/sqrt(A2^2+B2^2+C2^2);
k3=1/sqrt(A3^2+B3^2+C3^2);
l1=A1*k1;
l2=A2*k2;
l3=A3*k3;
m1=B1*k1;
m2=B2*k2;
m3=B3*k3;
n1=C1*k1;
n2=C2*k2;
n3=C3*k3;
N1=[l1 m1 n1];
N2=[l2 m2 n2];
N3=[l3 m3 n3];
text(EP(1,1)*1.01,0,'\sigma_1');
text(EP(2,1)*1.1,0,'\sigma_2');
text(EP(3,1)*1.1,0,'\sigma_3','fontsize',15);
text(centro1(1),radio1*0.9,'\tau_3')
text(centro2(1),radio2*0.9,'\tau_1')
text(centro3(1),radio3*0.9,'\tau_2')
xlabel('Esfuerzo normal, \sigma')
ylabel('Esfuerzo cortante, \tau')
grid on