Notation for trig operations
I have a concern about the notation Mathcad uses for simple trig functions. I've had this concern for years, but it has come to the forefront again with the use of Prime, which (thankfully!) tries harder to make the equations look typeset.
In published material, the sine of x is written sin x. The sine of the ratio x/y is written sin x/y. And so on. (Imagine that my solidus "\" would in most cases be replaced by a stacked form of the ratio).
In Mathcad, these must be entered as, and appear as, sin (x), sin (x/y) and so on.
The typesetting rule is that the horizontal bar in a stacked fraction serves as the grouping parenthesis, so that putting () around x/y is redundant. Mathcad methodology apparently does not allow this convention.
Things get more confusing when we start performing operations on the operand of the sin function. For example, in typeset math the sine of the square of x is written sin x^2. The square of the sine of x would be written (sin x)^2, or possibly sin^2 x.
In Mathcad, I would therefore expect that when I see sin (x)^2 this means sin x^2, but it does not: Mathcad calculates (sin x)^2. If I WANT the sine of (x squared) in Mathcad, I have to write sin ((x)^2), which is quite awkward, and certainly not what you would see in a typeset book. If I wanted to calculate the sine of the square of the ratio x/y, I would have to enter sin ((x/y)^2). It should be sufficient to enter sin (x/y)^2 according to standard math typesetting rules, but doing this in Mathcad gives you the wrong answer.
I suspect that Mathcad's non-standard handling of this has caused more than a few errors over the years.
Comments?

