Yes, some of
us are being a little rude, but I can see why.
I think the problem is that your question doesn't make sense to us, and your answer ("yes sir", with no further comment or question) suggests you aren't thinking. So we don't know what to say next.
You asked "Is e^-ix = sinx ?"
You were told, "
e−ix=cos(−x)+isin(−x)=cos(x)−isin(x)". That is,
no, it is not even a real number!
Now you need to tell us more, and/or ask us more.
The material you are using appears to be saying nonsense, unless we are missing something important! The fact is that they
can't replace sin(u) with e^-iu, unless perhaps there is something hidden (you showed only small part of a page) that would show what they are really doing. We need to know that context. If your question arose because you are confused, then
so are we ... (at least I am).
Can you at least
show us more of what is being said there, and tell us about the overall context? My guess is that something is being done such that only the imaginary part matters (I would have expected it to be the real part), and what you showed doesn't mention that.