Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 414 Bytes
No = linspace(.001,.01,10);
n = 20;
T = zeros(1,length(No));
wmax = zeros(1,length(No));
for i = 1:length(No)
T(i) = tension_sol(No(i),n);
w = membrane_solution(T(i),No(i),n);
wmax(i) = max(w);
end
clf
x = wmax';
y = No';
Z=x.^3;
a=Z\y;
x_fcn=linspace(min(x),max(x));
plot(x,y,'o',x_fcn,a*x_fcn.^3)
title('Pressure vs Maximum Deflection')
xlabel('Maximum Deflection (\muM)')
ylabel('Pressure (MPa)')
You can’t perform that action at this time.