1. Use the Monte Carlo method to estimate the following: Jo exp(exp(x)) dx this easy version of the Monte Carlo method, uses the law of large numbers: Law of Large Numbers: if {X; } are i.i.d. UNiform on [0, 1], n Σh(X;) → i=1 ["₁ The more complete Monte Carlo method allows to compute h(x)dx = E(h(X)) ["h h(x)f(x)dx = E(h(X)) for other random variebles, not only Uniform. Monte Carlo uses a Markov chain to generate sapling from the "steady state" distribution. See slides attached. In this problem, you are only asked to try the Law of Large Numbers.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter5: Inverse, Exponential, And Logarithmic Functions
Section5.6: Exponential And Logarithmic Equations
Problem 64E
icon
Related questions
Question
1. Use the Monte Carlo method to estimate the following: o'exp(exp(x)) dx
this easy version of the Monte Carlo method, uses the law of large numbers:
Law of Large Numbers: if {Xi} are i.i.d. UNiform on [0, 1],
n
2 h(X;) →
h(x)dx = E(h(X))
i=1
The more complete Monte Carlo method allows to compute
b
h(x)f(x)dx = E(h(X))
a
for other random variebles, not only Uniform. Monte Carlo uses a Markov chain to generate sapling from the "steady state" distribution. See
slides attached.
In this problem, you are only asked to try the Law of Large Numbers.
2. E(N) where N is defined as follows. Let {U ¡} be i.i.d. Unif(0,1). Define N=min{n: U 1+...+U n
>1}
Calculate N 100 times and then compute the mean. (Also draw the histogram of results)
Repeat this again 10000 times. Comment on your findings. What was the average of your 10000 calculations?
Upload you work (done neatly) here.
Transcribed Image Text:1. Use the Monte Carlo method to estimate the following: o'exp(exp(x)) dx this easy version of the Monte Carlo method, uses the law of large numbers: Law of Large Numbers: if {Xi} are i.i.d. UNiform on [0, 1], n 2 h(X;) → h(x)dx = E(h(X)) i=1 The more complete Monte Carlo method allows to compute b h(x)f(x)dx = E(h(X)) a for other random variebles, not only Uniform. Monte Carlo uses a Markov chain to generate sapling from the "steady state" distribution. See slides attached. In this problem, you are only asked to try the Law of Large Numbers. 2. E(N) where N is defined as follows. Let {U ¡} be i.i.d. Unif(0,1). Define N=min{n: U 1+...+U n >1} Calculate N 100 times and then compute the mean. (Also draw the histogram of results) Repeat this again 10000 times. Comment on your findings. What was the average of your 10000 calculations? Upload you work (done neatly) here.
Expert Solution
steps

Step by step

Solved in 3 steps with 8 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,