x

Normal

aa = 10 (slider from 0 to n, step 1)
n = 64 (slider from 1 to 100, step 1)
p = 0.18 (slider from 0 to 1, step 0.01)
a = BinomialDist(n, p)
μ: (n * p)
σ: sqrt(((n * p) * (1 - p)))
f(x) = (1 / ((σ * sqrt((2 * π)))) * ℯ^(((-(x - μ)^(2))) / ((2 * σ^(2)))))
b = true
A: (aa, 0)
d = BinomialDist(n, p, aa, false)
B: (aa, d)
c = Integral(f, aa - 0.5, aa + 0.5)
texto4: "P(X=" + (LaTeX[aa]) + ")=" + (LaTeX[d]) + ""
texto5: "P(" + (LaTeX[aa]) + "-0.5<X'<" + (LaTeX[aa]) + "+0.5)=" + (LaTeX[c]) + ""
texto1: "Binomial \\X\equiv B(" + (LaTeX[n]) + "," + (LaTeX[p]) + ")"
texto3: "Normal\\X'\equiv  N(" + (LaTeX[μ]) + "," + (LaTeX[σ]) + ")"
texto2: "\boxed{\mu=np=" + (LaTeX[n]) + "·" + (LaTeX[p]) + "=" + (LaTeX[μ]) + "\\
\sigma=\sqrt{np(1-p)}=\sqrt{" + (LaTeX[n]) + "·" + (LaTeX[p]) + "(1-" + (LaTeX[p]) + ")}=" + (LaTeX[σ]) + "}"