Question: How to equate coefficients on both sides of an equation?

Hi, I have the following equation defined in Maple:


And I want to equate the coefficients of the similar terms (sin with sin and cos with cos), in order to do this:



And then solve for the variables a, b in that 2 new equations.

Any ideas?

Please Wait...