Question: Problem 3. Consider the composite Trapezoidal rule to compute the integral fore to compute a confidence interval of a normal distribution) edx (often used

Problem 3. Consider the composite Trapezoidal rule to compute the integral fore to compute a confidence interval of a normal distribution) edx (often used 1) (1 point) If we use n = 2 panels (with an integer k), what is the smallest value of k needed to get the error roughly under 10-4? 2) (1 point) Write a computer code to implement the composite Trapezoidal rule and apply it to estimate the integral e- dr using n = 2 and n = 23 panels respectively. Present the estimated integral values respectively. 3) (2 points) Using the two estimated values found in 2) to give estimates of their errors, and to provide a more accurate estimate of the integral based on extrapolation.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
