I am trying to to find a magnitude and phase response of a FIR filter as in problem 5.18 Digital Signal Processing 4th Edition by John Proakis. I got the frequency response as:
$$ H(\omega ) = 1 - e^{-j4\omega} $$
I checked the manual solution and I got the same answer, but in that manual solution, the answer could be simplify to be: $$ H(\omega)=2e^{-j2\omega}e^{j\pi/2} sin2\omega $$
I don't understand what are the steps to simplify my answer into that solution, can someone derive it from my answer into the simplified solution. Thank you so much, hope that my question is clear enough