Question: Please using Python code to solve this question !!!!! Please using Python code to solve this question !!!!! Please using Python code to solve this

Please using Python code to solve this question !!!!!
Please using Python code to solve this question !!!!!
Please using Python code to solve this question !!!!!
1. Numerical integrals Please calculate the following integral by using different methods: 1 x-1/4 I -dx ex + x3/4 + 2 (1) 1. Please choose one of the numerical methods including : rectangle method, adaptive trapezoidal, adaptive simpson, gaussian quadrature; with the accuracy 10-5 of to do the integration 2. Use importance smapling method to do the integration and compare the results with the uniform sampling mean value method. Show the figure as the slide: Lec9 No.6. Note that you need to show the derivation for choosing the w(x) and transforing the integrand. 3. Use MCMC (Markov chain Monte Carlo) to calculate the result and show the final result with error. 1. Numerical integrals Please calculate the following integral by using different methods: 1 x-1/4 I -dx ex + x3/4 + 2 (1) 1. Please choose one of the numerical methods including : rectangle method, adaptive trapezoidal, adaptive simpson, gaussian quadrature; with the accuracy 10-5 of to do the integration 2. Use importance smapling method to do the integration and compare the results with the uniform sampling mean value method. Show the figure as the slide: Lec9 No.6. Note that you need to show the derivation for choosing the w(x) and transforing the integrand. 3. Use MCMC (Markov chain Monte Carlo) to calculate the result and show the final result with error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
