%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Definition of the first order system of ODE that represents the Blasius %%
%%%% equation for the boundary layer along a semi-infinite flat plate. %%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Notations:
%                   x(1) = f,   x(2) = f',   x(3) = f''
% The initial condition for f'' at eta = 0 should be about 0.33206.  The
% other two initial conditions are zero.

% Return the derivatives of the x-values
function xp = blaseq(eta,x)
xp=[x(2); x(3); -.5*x(1)*x(3)];
