You need to know this identity.
Hi Plato, Shawsend,
Thanks for your answers.
Plato, it was Shawsend who suggested this other way, not me!
I don't understand why the assignement directs us to seperate real and imaginary parts instead of going the 'mathematicians way'.
It could be just for training students in trigonometric calculous.
civodul