Question
You wish to use the method of Monte Carlo integration by stone throw to estimate the integral a) Before you apply the stone throwing method,
You wish to use the method of Monte Carlo integration by stone throw to estimate the integral
a) Before you apply the stone throwing method, you must enclose the area to integrate within a box that is as small as possible to improve accuracy. Show all your calculations and clearly explain in words your choice for the bounds of that box
b) What will be your estimated value for this integral after 4 stone throws? Explain how each random number was used. Every time you need a random number, use one from the list provided below in the order given, starting with the first one. (Write a MATLAB script)
c) What is the % error between the theoretical value of this integral and the value you obtain after 4 stone throws?
Your RNs to use are
0.037 | 0.416 | 0.67 | 0.735 | 0.583 | 0.993 | 0.238 | 0.924 | 0.203 | 0.804 |
- (5cos(x) 10)da J-11/2 - (5cos(x) 10)da J-11/2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started