function xprime = ex2_xt(x, u, t)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Creators Kittiphan Techakittiroj
%% Created 27 April 1996 (at ESCI, Case Western Reserve University)
%% Modified 27 April 1996 (at ESCI, Case Western Reserve University)
%% MATLAB version 4.0
%%
%% Function for example 1, State Equation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
xprime = zeros(size(x));
xprime(1) = -2*(x(1)+0.25) + (x(2)+0.5)*exp(25*x(1)/(x(1)+2)) - (x(1)+0.25)*u;
xprime(2) = 0.5 - x(2) - (x(2)+0.5)*exp(25*x(1)/(x(1)+2));