Riemann Sum Approximations
Version 1.0.0 (76.5 KB) by
Debbie Hernandez
Goal: Calculate the different approximations computed by the left, right, lower, and upper Riemann sum.
This is a live script that shows some mathematical concepts of numerical integration. This file contains five sections: left, right, lower and upper Riemann sum, and a final section with the true integral calculated by using the Matlab function integral.
This live script can be used as part of a lecture or as an assignment to be completed outside of class, where the student can introduce and visualize the numerical aproximations of the integral of some functions of interest.
Cite As
Debbie Hernandez (2024). Riemann Sum Approximations (https://www.mathworks.com/matlabcentral/fileexchange/120943-riemann-sum-approximations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |