MathGroup Archive 2009

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

Search the Archive

Re: usage of TrigToExp?

  • To: mathgroup at
  • Subject: [mg95455] Re: usage of TrigToExp?
  • From: Jens-Peer Kuska <kuska at>
  • Date: Mon, 19 Jan 2009 02:56:58 -0500 (EST)
  • References: <gkv0a9$de1$>


in some of your init.m files you load probably
the RealOnly.m package
and this cause the problem.

Remove it and all work as expected. Your system
behave not as a clean Mathematica.


zatuch wrote:
> Hello,
> Results from function TrigToExp seemed weird to me. Could anyone
> please give me a good explanation on its usage. Thanks a lot.
> In[41]:= TrigToExp[Cos[2 x]]
> During evaluation of In[41]:= Nonreal::warning: Nonreal number
> encountered.
> Out[41]= Nonreal
> In[43]:= TrigToExp[Cos[y] Sin[x]]
> Out[43]= 0
> Zatuch

  • Prev by Date: Re: Using Coefficient on an equation
  • Next by Date: Re: usage of TrigToExp?
  • Previous by thread: Re: usage of TrigToExp?
  • Next by thread: Re: usage of TrigToExp?