I'm given 1-a\cdot e^{-i\cdot 2 \pi f}. The squared absolute value apparently is |1-a\cdot e^{-i\cdot 2 \pi f}|^2=1+a^2-2acos(2 \pi f).
Sadly the awnser doesn't show the steps of this derivation. I have tried many times to derive it my self but have not been able to do so. I feel like i...