Professional Documents
Culture Documents
Fig. Parts
Contents
Question 5.
Part (a)
Part (b)
Make table
clc
clear all
Question 5.
Part (a)
Normal Stress length of beam
z=0:100:1000
L=1000;
F=3000;
% Moment at z
M=F*(L-z)
% Max bending stress at z
I=10^8;
h=150;
c=0.5*h;
sigma = M*c/I
z =
Columns 1 through 6
Columns 7 through 11
600 700 800 900 1000
M =
Columns 1 through 6
Columns 7 through 11
sigma =
Columns 1 through 7
Columns 8 through 11
u=((-F*z.^2).*(3*L-z))/(6*E*I)
u =
Columns 1 through 7
Columns 8 through 11
Make table
length=z';
Stress=sigma';
Displacement=u';
table(length,Stress,Displacement)
ans =
11×3 table
1000 0 -0.047619
Contents
Question 6.
Part (a)
Part (b)
Make Plot
clc
clear all
Question 6.
Part (a)
Normal Stress length of beam
z=0:100:1000;
L=1000;
F=3000;
% Moment at z
M=F*(L-z);
% Max bending stress at z
I=10^8;
h=150;
c=0.5*h;
sigma = M*c/I ;
Part (b)
E=210000;
u=((-F*z.^2).*(3*L-z))/(6*E*I);
Make Plot
figure(1)
plot(z,sigma)