Question: Limit of a user defined procedure

Hi,

Not sure if I'm just being a bit daft but I'm struggling to obtain the correct solution to the following...

If we have the following:

And I enter the following into Maple:

Which I believe to be correct.  When I try to use p within the limit function, I cannot seem to get the answer 2 ?

 

What am I doing wrong here?  It's driving my bonkers!

 

Thankyou.

Please Wait...