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

Another question on Mathematics

question
Mathematics, 21.06.2019 16:00
The classrooms are trying to raise $1,200.00 for charity. mrs. leblanc's class has raised 50%. mr. patel's class has raised $235.14 ms. warner's class has raised 1/3 as much as mrs. leblanc's class. how much more money is needed to reach the goal of $1,200.00?
Answers: 1
question
Mathematics, 21.06.2019 19:30
Two corresponding sides of two similar triangles are 3cm and 5cm. the area of the first triangle is 12cm^2. what is the area of the second triangle?
Answers: 1
question
Mathematics, 22.06.2019 01:10
The graph below shows the line of best fit for data collected on the number of cell phones and cell phone cases sold at a local electronics store on twelve different days. number of cell phone cases sold 50 * 0 5 10 15 20 25 30 35 40 45 number of cell phones sold which of the following is the equation for the line of best fit? a. y = 0.8x b. y = 0.2x c. y=0.5x d. y = 0.25x
Answers: 3
question
Mathematics, 22.06.2019 01:10
Write each improper fraction as a mixed number. 9/4. 8/3. 23/6. 11/2. 17/5. 15/8. 33/10. 29/12.
Answers: 2
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
question
English, 18.03.2020 16:43
question
Chemistry, 18.03.2020 16:44
question
History, 18.03.2020 16:45
Questions on the website: 13722360