Calculus Integrals

Interactive examples using MATLAB to visualize and practice integral calculus and a calculus flashcards app.
645 descargas
Actualizado 16 Feb 2024

Calculus - Integrals

View on File Exchange or Open in MATLAB Online

MATLAB Versions Tested

Curriculum Module

Created with R2021b. Compatible with R2021b and later releases.

Information

This curriculum module contains interactive MATLAB® live scripts that teach fundamental concepts and basic terminology related to integral calculus. There is a focus on numerical approximation and graphical representation as tools for understanding the concepts of integral calculus.

Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside of class. Calculus - Integrals covers Riemann sum approximations to definite integrals, indefinite integrals as antiderivatives, and the fundamental theorem of calculus. It also covers the indefinite integrals of powers, exponentials, natural logarithms, sines, and cosines as well as substitution and integration by parts. Applications include area and power. In addition to the full scripts, visualizations, and practice scripts there is a Calculus Flashcards app included as well.

The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the End icon Stop button in the RUN section of the Live Editor tab in the MATLAB Toolstrip.

Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks online teaching team.

Contact Us

Solutions are available upon instructor request. Contact the MathWorks teaching resources team if you would like to request solutions, provide feedback, or if you have a question.

Prerequisites

This module assumes a knowledge of functions that is standard in precalculus course materials regarding powers, exponentials, absolute values, logarithms, sines, cosines, rational functions, and asymptotes. It also assumes knowledge of basic area formulas, including the area of a trapezoid. With the exception of Riemann.mlx and RiemannViz.mlx, the scripts are written to follow Calculus-Derivatives and expect basic understanding of derivatives and derivative rules. There is little expectation of familiarity with MATLAB, but you could use MATLAB Onramp as another resource to acquire familiarity with MATLAB.

Getting Started

Accessing the Module

On MATLAB Online:

Use the Open in MATLAB Online link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.

On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on Integrals.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select Add Ons icon Add-Ons > Get Add-Ons.

Products

MATLAB® is used throughout. Tools from the Symbolic Math Toolbox™ are used frequently as well.

Scripts

Full Script
Visualizations
Learning Goals
In this script, students will...
Practice
Antiderivatives.mlx
Family of antiderivatives
Visualizing Antiderivatives
Animated family of antiderivatives
- see a graphical presentation of the concept of general antiderivatives.
- develop computational fluency with the antiderivatives of powers, sines, cosines, and exponentials.
Calculate Antiderivatives
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int \sin (3z);dz=-\frac{\cos (3z)}{3}+C}$</math-renderer>
FundamentalTheorem.mlx
Distance traveled by skier
Visualizing the FTC
Signed area under a curve
- explain the fundamental theorem of calculus.
- see why the Fundamental Theorem of Calculus makes sense graphically.
- develop computational fluency for definite integrals involving linear and rational combinations of powers, sines, cosines, exponentials and natural logarithms.
Apply the Fundamental Theorem of Calculus
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int_1^3 \frac{1}{w^2 };dw=-\frac{1}{3}+1=\frac{2}{3}}$</math-renderer>
Riemann.mlx
Better approximation with smaller rectangles
Visualizing Riemann Sums
Approximation by rectangles
- explain and apply the different approximations computed by a left-endpoint, right-endpoint, midpoint, maximum, or minimum method of selecting a height value in a Riemann sum.
- explain and apply the trapezoidal approximation.
- explain why increasing the number of intervals in an approximation will decrease the error.
- discuss the implications for applying calculus in applications with values that are discrete or continuous.
Substitution.mlx
f(flower)
Visualizing Substitution
Animation of dx and du
- explain what the method of substitution is and how it works.
- develop fluency with computing integrals of combinations of powers, sines, cosines, exponentials and logarithms that are solvable
by substitution by hand.
- see a graphical understanding of the method of substitution.
Apply the method of substitution
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int \frac{\cos \left(\ln (t)+1\right)}{t};dt=\sin \left(\ln (t)+1\right)+C}$</math-renderer>
ByParts.mlx
Geometric integration by parts
Visualizing Integration by Parts
Integration horizontally and vertically
- explain what the method of integration by parts is and how it works.
- develop fluency with computing integrals involving powers, sines, cosines, exponentials and logarithms that are solvable by integration by
parts by hand.
- see a graphical understanding of the integration by parts formula.
Apply the method of integration by parts
<math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle {\int y^2 e^y ;dy=y^2 e^y -2ye^y +2e^y +C}$</math-renderer>
                    <math-renderer class="js-inline-math" style="display: inline" data-static-url="https://github.githubassets.com/static" data-run-id="6fa279eb3da88c670d2261ac77d54ee5">$\displaystyle =(y^2 -2y+2)e^y +C$</math-renderer>

Calculus Flashcards App

1. Choose the type of practice.
2. Solve problems.
3. Analyze your progress.
CalcFlashcardsSettings CalcFlashcardsPractice CalcFlashcardsAnalysis

Setup To Use the Calculus Flashcards App

MATLAB Desktop

  1. Ensure that you have MATLAB R2021a or newer installed.
  2. Download CalculusFlashcards.mlapp or download and unzip the entire repository.
  3. Right-click the app in MATLAB and select run or type run("CalculusFlashcards.mlapp") in the Command Window.

MATLAB Online

  1. Open in MATLAB Online badge

License

The license for this module is available in the LICENSE.md.

Related Courseware Modules

Courseware Module
Sample Content
Available on:
Calculus: Derivatives
image_17.png
image_18.png
Open in MATLAB Online badge
GitHub

Numerical Methods with Applications
image_20.png
image_21.png
Open in MATLAB Online badge
GitHub

Or feel free to explore our other modular courseware content.

Educator Resources

Contribute

Looking for more? Find an issue? Have a suggestion? Please contact the MathWorks teaching resources team. If you want to contribute directly to this project, you can find information about how to do so in the CONTRIBUTING.md page on GitHub.

© Copyright 2023 The MathWorks™, Inc

Citar como

Emma Smith Zbarsky (2024). Calculus Integrals (https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.1.0), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2021b
Compatible con cualquier versión desde R2021b
Compatibilidad con las plataformas
Windows macOS Linux
Comunidades de usuarios

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.1.0

1.0.7.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.7

1.0.6

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.6

1.0.5

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.5

1.0.4

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.4

1.0.3

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.3

1.0.2

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.2

1.0.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Calculus-Integrals/releases/tag/v1.0.1

1.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.