function as result...



Hi,
How can I write function as result of formula?

if i try :
f(x):=diff(sin(x),x);

it gives no result ...


regards, Olaf