Answer:
sinx = sqrt(1-p^2)
Explanation:
(cosx)^2 + (sinx)^2 = 1 (by looking at a unit circle, the hypotenuse of the right triangle whose legs are cosx and sinx is the radius of the circle)