4: You get

This is an elementary integral. Then you need to determine the domain of the integral.

Answer