MathGroup Archive 2005

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

Search the Archive

Re: TrigExpand - Odd behavior


Bob,

That does seem like a bug - or at least a feature. But the following
works...

Cos[x + 45 Degree] // N // TrigExpand // Chop
0.707107 Cos[x] - 0.707107 Sin[x]

Cos[x + Pi/4] // TrigExpand
Cos[x]/Sqrt[2] - Sin[x]/Sqrt[2]

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



From: Bob Stagat [mailto:stagat at linkline.com]
To: mathgroup at smc.vnet.net


Try executing the following three lines and explain the last result...

Cos[45 Degree]

Cos[x+45 Degree]

Cos[x+45 Degree]//TrigExpand

Thanks...
~ BS ~




  • Prev by Date: Re: TrigExpand - Odd behavior
  • Next by Date: ReplaceAll / sequential replacements versus joint replacement
  • Previous by thread: Re: TrigExpand - Odd behavior
  • Next by thread: Re: TrigExpand - Odd behavior