Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.