MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Trig functions expressed as Radicals

  • To: mathgroup at
  • Subject: [mg60123] Re: [mg60054] Trig functions expressed as Radicals
  • From: stephen layland <layland at>
  • Date: Sat, 3 Sep 2005 02:06:14 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

and thus spake mike_in_england2000 at [2005.08.30 @ 23:53]:
> Is it something to do with the complexity of the result?  I know that
> FunctionExpand[Cos[Pi/23]] gives an extremely complicated result if you
> have the patience to wait for it (don't try and evaluate this unless
> you have a while) and so clearly it makes sense for mathematica to
> leave expressions like Cos[Pi/23] unevaluated unless the user explicity
> asks for it with FunctionExpand[].  If this is the case then what rules
> does Mathematica use in order to decide whether to leave the expression
> unevaluated or to give the radical form?
There's currently a finite table of well known exact results of these

All other values are returned unevaluated to both preserve exactness and 
efficiency.  I don't think actually calculating the exact result for all
arguments and making a decision based off of the complexity of the
result, wouldn't be worth it in this case.


|        stephen layland         |
|    Documentation Programmer    |
| |

  • Prev by Date: Would a code generator from dynamic systems be feasible and useful?
  • Next by Date: Re: piecewise vs which
  • Previous by thread: Re: Trig functions expressed as Radicals
  • Next by thread: Re: Best construct for control structure