Question: Changing terms to be a function

Hi,

I am struggling to find a way to change a term like x to x(t) automatically. If I have something like

Data := x^2

diff(Data, x);

the result is 2x

How can I change this 2x to be 2x(t)?

Thanks,

Baharm31

 

 

Please Wait...