Mathematics
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

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:40, silverdays566
Which of the following represents the zeros of f(x) = 6x3 − 31x2 + 4x + 5? −5, one third , one half 5, − one third , one half 5, one third , − one half 5, one third , one half
Answers: 1
image
Mathematics, 21.06.2019 17:30, andrewjschoon2876
Which equation represents a line that is parallel to the line whose equation is 3x-2y=7( show all work)
Answers: 3
image
Mathematics, 21.06.2019 19:00, tjkma1234
Angela is buying a dress that is on sale for 20% off. if the original price of the dress is $40.00, how much money is angela saving on the dress? a. $0.80 b. $3.20 c. $32.00 d. $8.00
Answers: 1
image
Mathematics, 21.06.2019 20:00, jpsaad00
Beth divided 9 ounces of her granola recipe into 4 equal-sized amounts. she placed the amounts into individual bowls. the fraction 9/4 represents the number of ounces of granola in each bowl. which other number represents the amount of granola beth has in each bowl? (a) 1 1/4 (b) 2 1/4 (c) 1 3/4 (d) 3 3/4 i need !
Answers: 2
Do you know the correct 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
Social Studies, 30.04.2021 06:10
Konu
Mathematics, 30.04.2021 06:10
Konu
Advanced Placement (AP), 30.04.2021 06:10
Konu
Mathematics, 30.04.2021 06:10