I know how to define an expression by referring to a prior result. If I enter the command "D[Sin[x] Cos[x],x]", then do "f = %", f is defined as the expression which results from the differentiation. But I want to define f as a function of that result, i.e., I want to do something like:
But that doesn't work.
Thanks for tips,