calculations

> f:= x*csc(x); ans:=diff(f,x);

[Maple Math]

[Maple Math]

>

> f:=x*cos(x);diff(f,x);

[Maple Math]

[Maple Math]