Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to generate a table of trig questions such as:

Table[RandomChoice[{Sin, Cos, Tan}][
RandomInteger[{-180, 450}] \[Degree]] //
TraditionalForm, {3}, {4}] // TableForm 

does. MMA however evaluates this to acute angles.

What syntax can be used to keep the evaluation as sin(200˚) say?

Thanks in advance.

share|improve this question
up vote 1 down vote accepted

If it's just for show, you can just convert the angle to a string:

 Table[RandomChoice[{Sin, Cos, Tan}][
 ToString@RandomInteger[{-180, 450}] \[Degree]] //
 TraditionalForm, {3}, {4}] // TableForm 
share|improve this answer
yes, just for show, although ideally I would also like to evaluate the output. – jamie Jan 16 '13 at 14:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.