Numerical Integration using Sage

Click evaluate. Then enter your function, your lower bound for x=a, your upper bound b, the number of subdivisions, n, and your desired method of integration in the appropriate input boxes and dropdown menus. Change the value of the pivot to see alternate represenations for area with midpoint and trapezoid approximations.