| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168733Image: ubuntu2004
Visualizing Numerical Integrals
(c) 2009, written by Harald Schilly and Minh Nguyen
Trapezoidal Rule
Approximating a definite integral for using the trapezoidal rule. Here we assume that . Let be a positive integer and set . Then we have the approximation
where . When we have , and similarly .
static example for fixed values, the above one is interactive
approximation: 5.51923393088
numerical integral: 4.58458454354
Rectangle Rule
Approximating a definite integral with using rectangles. Again, we assume that , is positive, and we set . Then we have the approximation
where for .
static example with fixed values, the above one is interactive
approximation: 4.81471226681
numerical integral: 4.58458454354