Question: Derivative at a specific value ?

How do I calculate the derivative of C(r,t) with respect to r evaluated at r=a? I can do it in multiple lines like this:

temp:=diff(C(r,t),r);

r:=a;

R:=temp;

r:='r';

But this is a pretty ghetto way of doing this, how do I solve for R in one line? I thought diff or D could do it but I can't seem to get the syntax right :(

Thanks.

Please Wait...