exercise:1f8dc0a19b: Difference between revisions
From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> Alter the program ''' MonteCarlo''' to estimate the area under the graph of <math>y = 1/(x + 1)</math> in the unit square in the same way as in Exercise \ref {exer 2.1.4}. Calculate the true value of this area and use your simulation results to...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Alter the program ''' MonteCarlo''' to estimate the area under the graph of <math>y = 1/(x + 1)</math> in the unit square in the same way as in [[exercise:58cc566ddc|Exercise]]. Calculate the true value of this area and use | |||
graph of <math>y = 1/(x + 1)</math> in the unit square in the same way as in Exercise | |||
your simulation results to estimate the value of <math>\log 2</math>. How accurate is your | your simulation results to estimate the value of <math>\log 2</math>. How accurate is your | ||
estimate? | estimate? |
Latest revision as of 21:24, 12 June 2024
Alter the program MonteCarlo to estimate the area under the graph of [math]y = 1/(x + 1)[/math] in the unit square in the same way as in Exercise. Calculate the true value of this area and use your simulation results to estimate the value of [math]\log 2[/math]. How accurate is your estimate?