SFWRENG 3X03 Study Guide - Final Guide: Numerical Integration, Trapezoidal Rule

40 views5 pages

Document Summary

4. 1 evaluation of a definite integral or the area under a graph. Essentially this chapter is about using different methods to estimate the numerical. Problem: given a finite number of function values f(xi), xi e [a,b] or the function f(x) that can be evaluated at any x e [a,b], calculate. I(f) -> composite quadrature rule (the entire area) Ii -> quadrature rule (one panel or a slice) Remember that hi = xi+1 - xi using n = 4 rectangles. The width of one rectangle (also denoted as h). = (b-a)/n = (2 - 0)/4 = 2/4 = . To determine these values, we analyze the problem: So we see that our rectangles will be bounded by the points: a. 2 (keep incrementing by x until you reach b) But we will be calculating the value of the rectangle whose height is determined at the midpoint.