g(x):=diff(f(x), x);g(1);



Hi for All.

What the correct form to make it:

f(x):=x^2;
g(x):=diff(f(x), x);
g(1);

Thanks.