ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 20 Jun 2022 18:09:18 +0200Displaying tan instead of sin / coshttps://ask.sagemath.org/question/62899/displaying-tan-instead-of-sin-cos/Newbie question. How do I get SageMath to use tan in its result instead of the ratio and sin and cos?
Example:
sage: a = sin(x^2 + x + 1) / cos(x^2 + x + 1)
sage: a
sin(x^2 + x + 1)/cos(x^2 + x + 1)
I would hope to see instead:
tan(x^2 + x + 1)
Thanks, Ericmn124700Mon, 20 Jun 2022 18:09:18 +0200https://ask.sagemath.org/question/62899/