Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (13 sloc) 480 Bytes
function w = shape_simple_support(x,q)
%Takes input of x (position) and q (applied distributed load)
%and calculates the deflection of the beam at a point
%Given physical parameters
E = 70*10^9; %Pa - elastic modulus
l = 1; %m - beam length
b = 0.1; %m - beam width
h = 0.01; %m - beam height
%Derived variables
I = (b*(h^3))/12; %m^4 - moment of inertia
%Deflection calculated at x (in meters)
w = (((q*l*(x^3))/(12*E*I)))-(((q*(x^4))/(24*E*I)))-((q*(l^3)*x)/(24*E*I));
end
You can’t perform that action at this time.