/trapezoidal-rule

Trapezoidal Rule Visualization Tool

Primary LanguageJavaScript

Trapezoidal Rule - Find the approximation of any definite integral

Approximating the region under the graph of the function f(x) as a trapezoid and calculating its area.

Usage

Open the index.html

Enter any function, f(x), into the equation box

Define the upper and lower limit

Define n - number of slices

Click Draw

Library

Made using the Plot.ly library & Math.JS