Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: TrigExpand - Odd behavior

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55440] Re: TrigExpand - Odd behavior
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 23 Mar 2005 05:34:51 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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