Question: How to account for multiple solutions?

I have an expression k:

k:=n*(phi+ln(-1/(-exp(phi)+exp(phi)*p-p)))/phi:

 

and the two solutions of the following expression:

solve(n*p*(1-p)=(sigma)^(2), {p});


Now I want to substitute the solutions of the former for p in k.

Because there are two different expressions to account for, how may I tell Maple to return two solutions at once, without typing each of them extra?

Please Wait...