Very basic question



Quick question.

How do I calculate the derivative at a point ?

f(x):=diff(g(x),x);
f(d/2) does not work when d is constant.