%
%   HW9_DEMO1_EQN.M   Function file for solution of y' = kk*y + ir  (HW9_DEMO1)
%
%   This file simply evaluates yp = f(x,y) for the input x and y values.
%   Called as part of solution for plotting slope fields and solution curves.
%
%   File prepared by J. R. White, UMass-Lowell (March 1998)
%    --> changed names for consistency (Jan. 2000)
%
      function yp = eqnfile(x,y)
      global kk ir
      yp = kk*y + ir;
%
%   end of function
%
