Revision as of 22:22, 12 June 2024 by Admin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
BBy Bot
Jun 09'24

Exercise

Alter the program MonteCarlo to estimate the area under the graph of [math]y = \sin\pi x[/math] inside the unit square by choosing 10,00 points at random. Now calculate the true value of this area and use your results to estimate the value of [math]\pi[/math]. How accurate is your estimate?