Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update SE_diff.m
  • Loading branch information
mam13081 committed Dec 15, 2017
1 parent 9fec7f1 commit 2f05c2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Part E/SE_diff.m
Expand Up @@ -11,7 +11,7 @@ function [pw_se,w]=SE_diff(T,P,n)
% membrane
% w = vector of displacement of interior nodes

E = 1e6; %TPa Units may need to be changed
E = 1e6; %MPa
v = .31; %Poissons ratio
t = .3; %nm
h = 10/(n+1); %nm
Expand All @@ -35,4 +35,4 @@ for i = 1:num
end
end
se = E*t*h^2/(2*(1-v^2))*sum(sum(0.25.*dwdx.^4+.25.*dwdy.^4+0.5.*(dwdx.*dwdy).^2));
pw_se = pw-se;
pw_se = pw-se;

0 comments on commit 2f05c2f

Please sign in to comment.