Re: sin, cos into exponentials



>                  I do not see how to replace any occurrence of sine
> and cosine by the corresponding exponentials; e.g., 3 sin(a) + cos(b)
> should be turned into a sum of exp(%i*a), exp(-%i*a), exp(%i*b), and
> exp(-%i*b).

Thanks to all who pointed me to exponentialize and demoivre!

Albert.