function f=f(t,y) f=3+t-y; % Defines the function f