Question: Manipulating equations

Hi all,

For example, I have this equation:

restart: eq:=diff(theta(t),t)*y(theta(t))+x(t)=sin(x(t));

and

wm:=diff(theta(t),t);

I want to replace in eq, wm:=diff(theta(t),t). I used commands eval, subs as:

subs(diff(theta(t),t)=wm,eq);

eval(eq,diff(theta(t),t)=wm);

but with no result

Thanks for any suggestion

Kamel

Please Wait...