From 21ba611c1476c1402b5c6aa3507287044e05b103 Mon Sep 17 00:00:00 2001 From: Vahid Nikoofard Date: Thu, 24 Feb 2022 15:30:34 -0300 Subject: [PATCH] Update 10_01_montecarlo_integration.ipynb correction the definition of the average of a function. --- 10_01_montecarlo_integration.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10_01_montecarlo_integration.ipynb b/10_01_montecarlo_integration.ipynb index 0957b54..5043985 100644 --- a/10_01_montecarlo_integration.ipynb +++ b/10_01_montecarlo_integration.ipynb @@ -31,7 +31,7 @@ "$$\n", "\n", "Another Monte Carlo procedure is based on the definition:\n", - "$$\\langle g \\rangle=\\frac{1}{(b-a)} \\int _a^b{f(x)dx}.\n", + "$$\\langle f \\rangle=\\frac{1}{(b-a)} \\int _a^b{f(x)dx}.\n", "$$ In order to determine this average, we sample the\n", "value of $f(x)$:\n", "$$\\langle f \\rangle \\simeq \\frac{1}{N}\\sum_{i=1}^{N}f(x_i),$$ where the\n",