function [M] = sol(t,y)
%
%   this function returns M = right hand side of equation
%   for any given time = t and y(t)=y
%
%      M =  f(t,y)

% the function for Example 3 on page 107

M = 4-t+2*y;

end