Question: [Numerical Integration] Find 06 f(x)dx with the function f(x) = 2x/(1 + x2) using the following methods. Please analyze the convergence as h 0 for
[Numerical Integration] Find 06 f(x)dx with the function f(x) = 2x/(1 + x2) using the following methods. Please analyze the convergence as h 0 for h = .1, .01, .001 until you have a viable answer. Write matlab codes which will allow you to change the stepsize. Show graphs of your numerical outputs for comparison.
I have already used the trapezoid rule to find an answer, but I do not know how to show a graph in MATLAB of the numerical output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
