Skip to content
Permalink
a1ff183191
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
17 lines (15 sloc) 376 Bytes
%The objective of this code is to plot the load distributed on the beam
%versus the maximum deflection
max_load=100;
q=[1:max_load];
w=zeros(1,100);
x=0.5;
for n=1:max_load
w(n) = shape_simple_support(x,n);
end
%Plot load vs max deflection
plot(q,w)
setdefaults
xlabel('Applied Load (N/m)')
ylabel('Max Deflection (m)')
title('Applied Load versus Maximum Deflection')