Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
function Plot_Shape_simple_support
setdefaults
E=70E9; % 70 GPA
p=2700; % kg/m^3 (density)
L=1; % 1 m (length)
b=0.1; % meters (base width)
h=0.01; % meters (height)
I=(b*(h^3))/12; % Second Moment of inertia
x=0.5; % force applied at half length
for q=1:100
w(q) = (((q*L*(x^3))/(12*E*I)))-(((q*(x^4))/(24*E*I)))-((q*(L^3)*x)/(24*E*I));
end
q=[1:100];
setdefaults
plot(q,-w)
xlabel('Distributed Load (N/m)')
ylabel('Max Deflection of Beam (m)')
title('Deflection of Beam Versus Loading')
end