Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update
  • Loading branch information
ndm13002 committed May 1, 2017
1 parent 91d5230 commit 13b262a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added Plot4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion defl.m
Expand Up @@ -11,7 +11,7 @@ h = 0.01; %m
l = 1; %m

%Placeholder frequency
%freq = 150;
freq = 150;

%Derived variables
I = (b*(h^3))/12; % m^4
Expand Down
2 changes: 1 addition & 1 deletion solveODE.m
Expand Up @@ -9,7 +9,7 @@ l = 1; %m
I = (b*(h^3))/12; % m^4
area = b*h; %m^2

[x,w] = ode45(@defl,[0 1],[0;0.001;0;-0.1]);
[x,w] = ode45(@defl,[0 1],[0;0;0;0]);
plot(x,w(:,1),'-o',x,w(:,2),'-o')
title('Depiction of Beam Deflection with ODE45');
xlabel('Position x (m)');
Expand Down

0 comments on commit 13b262a

Please sign in to comment.