You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Trapezoidal Rule

Manage Bookmarks
Calculate the integral over the finite interval (a, b) using the trapezoidal rule.
The number of subdivisions is doubled at each step: 2, 4, 8, 16, ..., N. The integrand f(x) is assumed to be analytic and nonperiodic.

\(\normalsize\ Trapezoid:\\ \hspace{20px}S={\large\int_a^{b}}f(x)dx=\hspace{5px}{\large\frac{h}{2}}\{f(a)+2{\large \displaystyle \sum_{j=1}^{n-1}}f(a+jh)+f(b)\}\\ \hspace{60px}h={\large\frac{b-a}{n}}\\ \)
f(x)
a
,
b
Maximum number of divisions: N
\(\normalsize \hspace{10px}S={\large\int_a^{b}}f(x)dx\\ (1)\ Trapezoid\\ \hspace{5px}S_{\normalsize t}={\large\frac{h}{2}}\{f(a)+2{\large \displaystyle \sum_{j=1}^{n-1}}f(a+jh)+f(b)\},\hspace{10px} h={\large\frac{b-a}{n}}\\ \)

No customer feedback for this calculation yet.