Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.5K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

[?] Format a polar equation with TraditionalForm?

Posted 6 years ago

All:

My issue is this: I would like to generate r = 2 + 2cos(theta)

However, when I use TraditionalForm[r == 2 + 2 Cos[\[Theta]]], the output switches the RHS of the equation, and I get r = 2cos(theta) + 2.

Other than coding the typography directly, is there a way to prevent the system from switching those two terms in the output?

Thanks for any help!

  • Rob
POSTED BY: Rob Holman
2 Replies

Fantastic.

Thank you!

POSTED BY: Rob Holman

Try:

 TraditionalForm[HoldForm[r == 2 + 2 Cos[\[Theta]]]]

 (*r==2+2 cos(\[Theta])*)
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard