MathGroup Archive 2009

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

Search the Archive

Re: usage of TrigToExp?

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

It looks as though you loaded the old Miscellanous`RealOnly package. Try 
again in a fresh session, without loading RealOnly.

Helen Read
University of VErmont

  • Prev by Date: Re: Using Coefficient on an equation
  • Next by Date: Re: Using Coefficient on an equation
  • Previous by thread: Re: Re: Multiple PDF Pages using Export
  • Next by thread: Re: usage of TrigToExp?