I have a problem in calculating the limit for an equation.

The equation is , where A, B, a, b are positive constants, with a > b.

I am required to explain what happens to the value of the above equation when p approaches 0, and when p approaches infinity.

The answer given in the textbook is when p approaches 0 the value of the equation approaches b and when p approaches infinity the value of the equation approaches a.

Can someone explain in detail how to get to the above answers? Thank you very much in advance XD