% uses the right-hand rule to estimate f'(x) 
% function y = d_right(x,h)

function y = f(x,h)

y = (f(x+h)-f(x))/h;