function y = gd(x) y = 2*x;