Newbie question. How do I get SageMath to use tan in its result instead of the ratio and sin and cos? (I'd post an image, but I don't have 60 points yet :( Visualize sin(a bunch of stuff) / cos(same bunch of stuff) )

Thanks, Eric

1 | initial version |

Newbie question. How do I get SageMath to use tan in its result instead of the ratio and sin and cos? (I'd post an image, but I don't have 60 points yet :( Visualize sin(a bunch of stuff) / cos(same bunch of stuff) )

Thanks, Eric

Newbie question. How do I get SageMath to use tan in its result instead of the ratio and sin and ~~cos? (I'd post an image, but ~~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 ~~don't have 60 points yet :( Visualize sin(a bunch of stuff) / cos(same bunch of stuff) )~~would hope to see instead:

```
tan(x^2 + x + 1)
```

Thanks, Eric

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.