Question: **do in python** Write a program to evaluate the integral by Monte Carlo integration with two different weighting functions p(x)-1 and p(x)-Ae*, where A is
**do in python**

Write a program to evaluate the integral by Monte Carlo integration with two different weighting functions p(x)-1 and p(x)-Ae*, where A is a normalization constant. The value of the integral (to five significant digits) is 0.74682. In each case, estimate f , and the probable error f NN , where N is the number of points used in the integration. By comparing methods for different values of N, find which method is the most efficient when both accuracy and CPU time are taken into account. Write a program to evaluate the integral by Monte Carlo integration with two different weighting functions p(x)-1 and p(x)-Ae*, where A is a normalization constant. The value of the integral (to five significant digits) is 0.74682. In each case, estimate f , and the probable error f NN , where N is the number of points used in the integration. By comparing methods for different values of N, find which method is the most efficient when both accuracy and CPU time are taken into account
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
