Академический Документы
Профессиональный Документы
Культура Документы
disp(' CLCULOS');
disp('***********************************');
D=2*r;%(mm)
%PRIMERO OPTE POR EMPEZAR POR LA PARTE B POR LA RAZN PRINCIPAL
%DE OBTENER EL ESPESOR(t) PARA HACER LOS CALCULOS DE A
%CALCULAMOS LA TORSION
%PRIMERO J=pi/2*(c2^4-c1^4)
c1=r;
c2=c1+t;%en funcion de (t)
J=(pi/2)*((c2)^4-(c1)^4)*(10^-12);%en funcion de (t)%unidades (m^4)%en
funcion de t
T=(P)*d;
esfxy=T*c2*(10^-3)/(J);%funcion de (t) %formula conocida de esfuerzo
transversal
I=J*0.5;%Momento de inercia
%Momento generada por la fuerza P en un punto a distancia L:
M=P*L;% esta en funcion de (L)
%Esfuerzo en un punto a la distancia L
esfuerzo=(M*(c2*10^-3)/I)*10^-6;%en funcion de ("t" y "L")
end
espesor=min(ppa);
%PARTE A
%************
%Como ya tenemos expresada algebraicamente para cualquier "t" y "L"
%Solo procedemos a reeemplazar datos
%PARA EL PUNTO a
esfxa=subs(esfx,t,espesor);
esfxa=subs(esfxa,L,Lo/2);
esfya=subs(esfy,t,espesor);
esfya=subs(esfya,L,Lo/2);
txya=subs(txy,t,espesor);
tangente2tetaa=abs(txya/((esfxa-esfya)/2));
anguloa=(atan(tangente2tetaa))/2;
tmaxa=subs(tmax,L,Lo/2);
tmaxa=subs(tmaxa,t,espesor);
%Esfuerzos principales para a:
Esfuerzomaximoa=((esfxa+esfya)/2)+tmaxa;
Esfuerzominimoa=((esfxa+esfya)/2)-tmaxa;
%PARA EL PUNTO b
esfxb=subs(esfx,t,espesor);
esfxb=subs(esfxb,L,Lo);
esfyb=subs(esfy,t,espesor);
esfyb=subs(esfyb,L,Lo);
txyb=subs(txy,t,espesor);
tangente2tetab=abs(txyb/((esfxb-esfyb)/2));
angulob=(atan(tangente2tetab))/2;
tmaxb=subs(tmax,L,Lo);
tmaxb=subs(tmaxb,t,espesor);
%Esfuerzos principales para b:
Esfuerzomaximob=((esfxb+esfyb)/2)+tmaxb;
Esfuerzominimob=((esfxb+esfyb)/2)-tmaxb;
******************************************
INGRESO DE DATOS
******************************************
CLCULOS
***********************************
**************************************
Para el punto a :
Angulo tetap = 2 ()
Para el punto b :
Angulo tetap = 3 ()
**************************************