function f = rope_shoot ( alpha )
%
%  function f = rope_shoot ( alpha )
%
%  ROPE_SHOOT uses the shooting method to determine an approximate
%  solution to a particular boundary value problem.
%
%  Modified:
%
%    11 February 2000
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, real ALPHA, the value of Y' at the left endpoint.
%
%    Output, real F, the error, that is, the difference between the
%    compute value of the solution at the right endpoint, and the
%    desired value, determined by the boundary condition:
%
%      Y(RIGHT) = 0.5
%
%    so
%
%      F = Y(RIGHT) - 0.5.
%
nstep = 100;
[x,y] = rk3 ( 'rope_ode', [ 0.0, 5.0 ], [ 0; alpha ], nstep );
f = y(1,nstep+1) - 0.5;


