Find the values of p for which the integral converges. evaluate the integral for those values of p

Find the values of p for which the integral converges. And evaluate the integral for those values of p.
image