1
$\begingroup$

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.

$\endgroup$

1 Answer 1

1
$\begingroup$

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 
$\endgroup$
1
  • $\begingroup$ yes, just for show, although ideally I would also like to evaluate the output. $\endgroup$
    – jamie
    Jan 16, 2013 at 14:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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