Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'trigonometric simplifications' topicStudent Support Forum > General > "trigonometric simplifications"

Next Comment >Help | Reply To Topic
Author Comment/Response
09/08/06 02:54am

I want to use the trigonometric identity:
Sin(x)*Sin(y)=Cos(x-y)/2 - Cos(x+y)/2

With the expression e1=Sin[a]Sin[a+b]
I want to write a rule transformation that would get an expression and exchange it.

my code is:
Sin[x]*Sin[y] -> Substract[Divide[Cos[x - y], 2], Divide[Cos[x + y], 2]]

The problem is that Mathematica doesent recognize e1 as a pattern of the type Sin[x]Sin[y]

Thanks you

URL: ,

Subject (listing for 'trigonometric simplifications')
Author Date Posted
trigonometric simplifications Bob 09/08/06 02:54am
Re: trigonometric simplifications Peter Pein 09/08/06 7:43pm
Re: trigonometric simplifications yehuda ben-s... 09/09/06 02:47am
Next Comment >Help | Reply To Topic