use the following two equations and solve for the unknown:

$ E[X^2] = E[X] = p \! $

$ Var(X) = p(1-p)\! $

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang