The domain for this function comes from the square root expression involved. If the function is a real function, then the argument of a square root can never be negative.

So what you are searching for, really, is the values of p for which .

You can find these values by solving that inequality.

You have your answer wrong though. The domain is