Check if there's a difference in solving sin(2 x), sin(-2 x), sin(2.0 x) and sin(-2.0 x), to see if Mathcad or Mupad handles those functions differently. Or do a series expansion.
Positive factors -> no problem. no matter how they are written
neagtive integers written without decimal point -> no problem
But when the factor is negative and is written with a decimal point, whatever I do symbolically with that expression, it will fail with that "recursive definition" error.
I'll try to get hold on a machine with an older release of MC15 or even MC14 to see, if the bug is already present there or was introduced later.
Don't think so. Guess it wasn't a bug there. The OP used a wrong syntax for the "fourier" command and was not aware of the annoying effect that the symbolics switch to its "numeric/float" mode whenever just one number is written with a decimal point.
This auto-float mode could be part of the reason for the bug as expressions are dealt with and are evaluated differently when in float mode. But I see no reason why a recursive definition should be diagnosed just because the symbolics work in float mode.
I vaguely remember a thread dealing with a bug/problem concerning symbolics and floating point numbers. Just can't remember, nor find the thread.