## Series Convergence Calculator

version 1.7.6 (61.2 KB) by
Script finds the convergence, sum, partial sum plot, radius and interval of convergence, of infinite series.

Updated 25 Oct 2022

This script finds the convergence or divergence of infinite series, calculates a sum, provides partial sum plot, and calculates radius and interval of convergence of power series. The tests included are: Divergence Test (nth term test), Integral Test (Maclaurin-Cauchy test), Comparison Test, Limit Comparison Test, Ratio Test (d'Alembert ratio test), Root Test (Cauchy root test), Alternating Series Test (Leibniz test), Absolute Convergence Test, p-Series Test, Geometric Series Test, Raabe's Test, Bertrand's Test, Ermakoff's Test, and Power Series Test. The Power Series Test uses the ratio test, the root test, and the Cauchy-Hadamard theorem to calculate the radius and interval of convergence of power series. All the tests have partial sum graphs, except the Power Series Test. This script will help Calculus (II or III) students with the Infinite Series chapter, Differential Equations students with Series Solutions, and Real Analysis students with Advanced Convergence Tests.
There are 14 convergence tests on the primary list (mentioned above). The Absolute Convergence Test has a second list with 3 convergence tests: Absolute Convergence with Integral Test, Absolute Convergence with Comparison Test, and Absolute Convergence with Limit Comparison Test. There are 16 convergence tests in total. All the convergence tests require an infinite series expression input, the test number chosen (from 14), and the starting k, for 11 of the tests that is all that is required to run those tests. The Absolute Convergence Test has an additional input from the Absolute Convergence Test list (from 3): Absolute Convergence with Integral Test, Absolute Convergence with Comparison Test, and Absolute Convergence with Limit Comparison Test. The 2 Comparison Tests and the 2 Limit Comparison Tests have an additional 2 inputs: whether the comparison expression is convergent or divergent, and finally the comparison expression. To enter the inputs, answer the questions at the bottom of the command window, after running the script. To the left of the title is a screen shot example of the Alternating Series Test (Theorem and Alternating Series Test description commented out to fit all information).

### Cite As

David Cazenave (2022). Series Convergence Calculator (https://www.mathworks.com/matlabcentral/fileexchange/72141-series-convergence-calculator), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R2019a
Compatible with R2013b and later releases
##### Platform Compatibility
Windows macOS Linux

### Community Treasure Hunt

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

Start Hunting!