%
%   SFODE.M   Function file for solution of y' = sfunc, where sfunc is a string
%             variable that is input interactively by the user (in main program)
%
%   This file simply evaluates yp = sfunc for the input x and y values.
%   Called as part of solution for plotting slope fields and solution curves.
%   The string variable sfunc is passed to this routine as a global variable.
%
%   File prepared by J. R. White, UMass-Lowell (March 1998)
%
      function yp = sfode(x,y)
      global sfunc
      eval(['yp = ',sfunc,';']);
%
%   end of function
%
