I want to find the green's function of a free particle, which depends of the integral: $$ I = \frac{1}{4\pi ²ir} \int^{+\infty}_{-\infty} \frac{ke^{ikr}}{E-\frac{\hbar²k²}{2m}+i\eta} dk\,. $$
Then, using the cauchy principal value we remove the $\eta$...The result is as follows:
$$ g=\frac{e^{i\frac{\sqrt{2mE}}{\hbar}r}}{4\pi r} $$
I'll give you some hints: