Question: declare has a quirk

The following command works fine until you use it in the combination conjugate and diff.

example in Physics:

declare(phi(X));

diff(conjugate(phi(X)),x1);

phi(X) should now appear as phi with index x1 and a bar only, but

it comes as phi(X) x1 , the declare command is not effective. Non conjugate works fine.

Any idea - thanks in advance

Please Wait...