z.star <- qnorm(0.995); z.star # critical value for 99% confidence
p.hat <- 0.28; p.hat
n <- ((z.star / 0.01)^2) * p.hat * (1 - p.hat); n
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.