How would I calculate the standard deviation given the sample size and probability?

Thanks.