From a8f1d9c0f08f07f31b92b658426cbab342115a10 Mon Sep 17 00:00:00 2001 From: kp992 Date: Wed, 23 Apr 2025 19:11:28 -0700 Subject: [PATCH] Reduce the array size in wasm --- lectures/lln_clt.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lectures/lln_clt.md b/lectures/lln_clt.md index 476a5548..6a9227b0 100644 --- a/lectures/lln_clt.md +++ b/lectures/lln_clt.md @@ -472,8 +472,8 @@ $F(x) = 1 - e^{- \lambda x}$. ```{code-cell} ipython3 # Set parameters -n = 250 # Choice of n -k = 1_000_000 # Number of draws of Y_n +n = 50 # Choice of n +k = 10_000 # Number of draws of Y_n distribution = st.expon(2) # Exponential distribution, λ = 1/2 μ, σ = distribution.mean(), distribution.std() @@ -523,8 +523,8 @@ You can choose any $\alpha > 0$ and $\beta > 0$. ```{code-cell} ipython3 # Set parameters -n = 250 # Choice of n -k = 1_000_000 # Number of draws of Y_n +n = 50 # Choice of n +k = 10_000 # Number of draws of Y_n distribution = st.beta(2,2) # We chose Beta(2, 2) as an example μ, σ = distribution.mean(), distribution.std()