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



