function y = RootFun(x,k)
%
% function to test rootfinders.
%
y = exp(k*x) - x.^2 - 2;


