Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
1
  • Loading branch information
Leahy committed Dec 13, 2017
1 parent 0ee309e commit c1713ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 49 deletions.
46 changes: 0 additions & 46 deletions SE_diff.asv

This file was deleted.

4 changes: 2 additions & 2 deletions SE_diff.m
Expand Up @@ -8,7 +8,7 @@ function [pw_se,w] = SE_diff(T,P,n)
m(2:n+1,2:n+1) = c; % insert matrix c into middle of m matrix
% m = symmetric matrix

h = 10/(n+1);
h = 10/(n+1); % h = delta_x = delta_y (micron)

% Compute dw_dx
dx = zeros(n+2,n+1);
Expand Down Expand Up @@ -38,7 +38,7 @@ function [pw_se,w] = SE_diff(T,P,n)

pw_se = zeros(n+1,n+1);

for i = 1:16
for i = 1:(n+1)^2
pw_se(i) = (1000*10^3*0.3*10^-3*h^2)/(2*(1-0.31^2))*((dw_dx(i))^4/4+(dw_dy(i))^4/4+0.5*(dw_dx(i))^2+0.5*(dw_dy(i))^2);
end

2 changes: 1 addition & 1 deletion membrane_solution.m
Expand Up @@ -9,7 +9,7 @@ function [w] = membrane_solution(T,P,n)% Set up initial matrix

% Solve for unknown matrix, w
y = -(10/(n+1))^2*(P/T)*ones(n^2,1); %output vector
w = k\y; %solves for w in microm
w = k\y; %solves for w in micron

[x,y] = meshgrid(0:10/(n+1):10,0:10/(n+1):10);
z = zeros(size(x));
Expand Down

0 comments on commit c1713ed

Please sign in to comment.