triginometry



Richard Fateman wrote:
> There is no method available in Maxima's solve program for this equation.
> If you know of a way to solve it, perhaps you can describe it and it can
> be added to Maxima.
> 
>> (%i1) solve(A*sin(x)+B*cos(x)=C,x);
>>                                        cos(x) B - C
>> (%o1)                      [sin(x) = - ------------]
>>                                             A

the method to solve this equation:
let D=sqrt(A^2+B^2) and let E be such that
cos(E) = A/D
sin(E) = B/D
then the original eq can be rewritten as sin(x+Z)=C/D.