Skip to content

Commit

Permalink
more work on eigenvalue module
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleniemeyer committed Feb 27, 2020
1 parent 4d39f99 commit 4260fc3
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _build/bvps/masses.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function dxdt = masses(t, x)

m1 = 40;
m2 = 40;
k = 200;

dxdt = zeros(4,1);

dxdt(1) = x(2);
dxdt(2) = (k/m1)*(-2*x(1) + x(3));
dxdt(3) = x(4);
dxdt(4) = (k/m2)*(x(1) - 2*x(3));
Binary file added _build/images/bvps/eigenvalue_11_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _build/images/bvps/eigenvalue_14_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _build/images/bvps/eigenvalue_15_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _build/images/mass-spring-system.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions content/bvps/masses.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function dxdt = masses(t, x)

m1 = 40;
m2 = 40;
k = 200;

dxdt = zeros(4,1);

dxdt(1) = x(2);
dxdt(2) = (k/m1)*(-2*x(1) + x(3));
dxdt(3) = x(4);
dxdt(4) = (k/m2)*(x(1) - 2*x(3));
Binary file added content/images/mass-spring-system.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4260fc3

Please sign in to comment.