Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The bean counting method that was described in lecture (and in Chapter 5 of the course reader) for determining a is known as Monte Carlo

image text in transcribed

The bean counting method that was described in lecture (and in Chapter 5 of the course reader) for determining a is known as Monte Carlo integration." It is useful for integrating complicated functions, including cases where it may not even be clear how to properly express the integral. For example, the expression Mr.w.a) = =0 (1-7--)*+ ). 3 y? 22 + x2 23 + h(x, y, z) = 320 (1) can be used to generate a three-dimensional shell" (i.e., a level surface) by setting h(x, Y, z) = 0. You will investigate the utility of Monte Carlo integration for determining the volume contained within the shell. (a) Briefly describe a problem you might encounter when trying to formulate an integral to de- termine the shell volume. (b) In MATLAB, plot the shell (hint: this is an 'implicit' expression) and use the plot to determine an appropriately sized cube (centered on the origin) that entirely contains the shell. Use the plot option 'daspect([1 1 1])'. Take the total cube edge length to be equal to the smallest integer value that contains the shell. What is the length? (c) In terms of the variable h, write an expression for the region inside the shell (not including the shell itself). (d) In MATLAB, estimate the volume within the shell using Monte Carlo integration. Assume the "falling" beans "land" based on uniform distributions. Generate a convergence plot: plot the volume estimate as a function of the number of beans used for the estimate. Use 100, 000 beans to generate your results, but create one plot point every hundred beans (i.e., 1,000 plot points total). Display the resulting volume estimate. The bean counting method that was described in lecture (and in Chapter 5 of the course reader) for determining a is known as Monte Carlo integration." It is useful for integrating complicated functions, including cases where it may not even be clear how to properly express the integral. For example, the expression Mr.w.a) = =0 (1-7--)*+ ). 3 y? 22 + x2 23 + h(x, y, z) = 320 (1) can be used to generate a three-dimensional shell" (i.e., a level surface) by setting h(x, Y, z) = 0. You will investigate the utility of Monte Carlo integration for determining the volume contained within the shell. (a) Briefly describe a problem you might encounter when trying to formulate an integral to de- termine the shell volume. (b) In MATLAB, plot the shell (hint: this is an 'implicit' expression) and use the plot to determine an appropriately sized cube (centered on the origin) that entirely contains the shell. Use the plot option 'daspect([1 1 1])'. Take the total cube edge length to be equal to the smallest integer value that contains the shell. What is the length? (c) In terms of the variable h, write an expression for the region inside the shell (not including the shell itself). (d) In MATLAB, estimate the volume within the shell using Monte Carlo integration. Assume the "falling" beans "land" based on uniform distributions. Generate a convergence plot: plot the volume estimate as a function of the number of beans used for the estimate. Use 100, 000 beans to generate your results, but create one plot point every hundred beans (i.e., 1,000 plot points total). Display the resulting volume estimate

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions

Question

What is a weapon of mass destruction?

Answered: 1 week ago

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago

Question

What is the role of the Joint Commission in health care?

Answered: 1 week ago