6. Write a MATLAB code to approximate 6= e-2² +e-y² 2 dady, where D = {(x, y) such that x² + y² ≤ 1}. using the Monte Ca

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

6. Write a MATLAB code to approximate 6= e-2² +e-y² 2 dady, where D = {(x, y) such that x² + y² ≤ 1}. using the Monte Ca

Post by answerhappygod »

6 Write A Matlab Code To Approximate 6 E 2 E Y 2 Dady Where D X Y Such That X Y 1 Using The Monte Ca 1
6 Write A Matlab Code To Approximate 6 E 2 E Y 2 Dady Where D X Y Such That X Y 1 Using The Monte Ca 1 (28.57 KiB) Viewed 42 times
I am trying to use MATLAB to solve this but have been gettingwrong values, kindly help, I definitely upvote. Need solution fast.PLEASE ONLY USE MATLAB.
This is the full question. The output needs to be such that the 1st column prints 10^d and the 2nd column prints the approximation calculated through Monte Carlo Method. The last statement of the question is something which can only be answered once the output is compiled.
6. Write a MATLAB code to approximate 6= e-2² +e-y² 2 dady, where D = {(x, y) such that x² + y² ≤ 1}. using the Monte Carlo method. Run the code with a sample of M = 10 points with d= 2,3,... Write down a table of your results where the first column is 10d and the second column is the approximation. How large is d until you do not see anymore difference between two consecutive approximations?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply