X_n  \;  suit  \;  la \;  loi  \; \mathscr{B}(n,p)

$ Z_n \; = \; \frac{X_n-\mu}{\sigma} $

$ Représentation  \; de \; la \;  loi \; de $

n = 120 (slider from 0 to 1000, step 1)
p = 0.5 (slider from 0 to 1, step 0.1)
μ: n * p
σ: sqrt(n * p * (1 - p))
a: (-μ) / σ
b: (n - μ) / σ
f(x) = 1 / sqrt(2 * π) * ℯ^((-x^(2)) / 2)
c = BarChart(a - 0.5 / σ, b + 0.5 / σ, Sequence[Binomial[n, k] * σ * p^(k) * (1 - p)^(n - k), k, 0, n])
np: n * p
texte1: "μ =np =" * μ
texte2: " \sigma = \sqrt{np(1-p)}=" * σ