Riemann Sum Approximations

Goal: Calculate the different approximations computed by the left, right, lower, and upper Riemann sum.
46 Downloads
Updated 21 Nov 2022

View License

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 Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0