sin, cos into exponentials



Hi,

I am new to maxima, and despite spending quite some time with the
reference manual 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).

TIA for any hints or pointers!

Albert.