[Date Index] [Thread Index] [Author Index]
How to NOT convert Sin[x]/Cos[x] to Tan[x] ?
The Mathematica Book says "Mathematica automatically uses functions like Tan whenever it can" and shows as an example that Sin[x]^2/Cos[x] is converted to Sin[x] Tan[x] . Any simple way to stop this in displaying the output of a symbolic calculation? The obvious attempt of applying /.Tan[x]->Sin[x]/Cos[x] doesn't seem to do what's wanted. [And out of curiousity, WHY does it do this? That is, why is Tan apparently given a higher priority than Cos?]