Skip to content

Commit c870cca

Browse files
authored
Reduce the array size in wasm (#586)
1 parent 6fc60e5 commit c870cca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lectures/lln_clt.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ $F(x) = 1 - e^{- \lambda x}$.
472472

473473
```{code-cell} ipython3
474474
# Set parameters
475-
n = 250 # Choice of n
476-
k = 1_000_000 # Number of draws of Y_n
475+
n = 50 # Choice of n
476+
k = 10_000 # Number of draws of Y_n
477477
distribution = st.expon(2) # Exponential distribution, λ = 1/2
478478
μ, σ = distribution.mean(), distribution.std()
479479
@@ -523,8 +523,8 @@ You can choose any $\alpha > 0$ and $\beta > 0$.
523523

524524
```{code-cell} ipython3
525525
# Set parameters
526-
n = 250 # Choice of n
527-
k = 1_000_000 # Number of draws of Y_n
526+
n = 50 # Choice of n
527+
k = 10_000 # Number of draws of Y_n
528528
distribution = st.beta(2,2) # We chose Beta(2, 2) as an example
529529
μ, σ = distribution.mean(), distribution.std()
530530

0 commit comments

Comments
 (0)