Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

ri = 40

ro = 80

Pi = 70

r = 70:1:80

%inside radius tan sress

tsi = Pi*((ro.^2)+(ri.^2))/((ro.^2)-(ri.^2))

%inside radius radial stress

rsi = -Pi

%inside radius hoop stress

hsi = (((Pi)*(ri.^2))/((ro.^2)-(ri.^2))).^2

%outer radius inside tan stress

tso = ((2*Pi*(ri.^2))/(ro.^2)-(ri.^2))

%outer radius inside radial stress

rso = 0

%outer radius inside hoop stress

hso = ((Pi*(ri.^2))/(ro.^2)-(ri.^2))

plot(r,tsi,'d')

hold on

plot(r,rsi,'d')

hold on

plot(r,hsi,'d')

hold on
plot(r,tso,'d')

hold on

plot(r,rso,'d')

hold on

plot(r,hso,'d')

xlabel('Radius - mm')

ylabel('Stress - MPa')

title('THIN Cylinder Stress')

grid on

You might also like