Rank: 5062 based on 21 downloads (last 30 days) and 1 file submitted
photo

lotsa fahad

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by lotsa
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Mar 2009 blasius solution using matlab this code only prints out the plot as the sole output Author: lotsa fahad data import, still not helpedpleas... 21 1
  • 1.0
1.0 | 1 rating
Comments and Ratings on lotsa's Files
Updated File Comment by Comments Rating
01 Apr 2009 blasius solution using matlab this code only prints out the plot as the sole output Author: lotsa fahad Hanselman, Duane

Here is what is in this file:
clear
figure(1)
clf
% blasius equation
% f''' + 1/2 f f'' = 0
% b.c. f(0)=f'(0)=0 and f'(inf)=1
% g = f'
% g' = f'' = h
% g'' = f''' = h' = -1/2 f f'' = -1/2 f h
etavec(1)=0;
deta=0.001;
total=10;
fvec(1)=0;
gvec(1)=0;
% vary initial value of h
hvec(1)=0.3319;
for i=1:total/deta;
etavec(i+1)=etavec(i)+deta;
fvec(i+1)=fvec(i)+gvec(i)*deta;
gvec(i+1)=gvec(i)+hvec(i)*deta;
hvec(i+1)=hvec(i)-1/2*fvec(i)*hvec(i)*deta;
end
gvec(total/deta)
figure(1)
tabulate(etavec,fvec)
hold on
tabulate(etavec,gvec,'r--')
tabulate(etavec,hvec,'g-.')

Contact us