subject
Mathematics, 22.04.2020 01:47 minasotpen1253

Here is a probabilistic method for computing the area of a given subset S of the unit square. The method uses a sequence of independent random selections of points in the unit square [0,1]•[0,1], according to a uniform probability law. If the ith point belongs to the subset S the value of a random variable Xi is set to 1, and otherwise it is set to 0. Let X1,X2,... be the sequence of random variables this defined, and for any n, let Sn=(X1+X2+...+Xn)/n. a)Show that E[Sn] is equal to the area of the subset S, and that var(Sn) diminishes to 0 as n increases. b)Show that to calculate Sn, it is sufficient to know Sn-1 and Xn, so the past values of Xk, k=1,...,n-1, do not to be remembered. Give a formula. c) Write a program to generate Sn for n=1,2,...,10000, using the computer’s random number generator, for the case where the subset S is the circle inscribed within the unit square. How can you use your program to measure experimentally the value of pi. d) Use a similar computer program to calculate approximately the area of the set of all (x, y) that lie within the unit square and satisfy 0<=cos(pi•x) + sin(pi•y) <= 1

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 17:30, emiller6462
Use the net as an aid to compute the surface area of the triangular prism. a) 550 m2 b) 614 m2 c) 670 m2 d) 790 m2
Answers: 1
image
Mathematics, 21.06.2019 19:30, ashtonsilvers2003
Evaluate the expression for the given value of the variable. ∣-4b-8∣+∣-1-b^2 ∣+2b^3 ; b=-2
Answers: 2
image
Mathematics, 21.06.2019 19:30, monnicawilliam
In the geometric progression –3, 12, −48… what term is 3,072?
Answers: 2
image
Mathematics, 21.06.2019 21:40, chunkymonkey090
Ihonestly have no clue if it's each or none.
Answers: 1
You know the right answer?
Here is a probabilistic method for computing the area of a given subset S of the unit square. The me...

Questions in other subjects:

Konu
World Languages, 16.10.2020 14:01
Konu
Mathematics, 16.10.2020 14:01
Konu
Mathematics, 16.10.2020 14:01