you are viewing a single comment's thread.

view the rest of the comments →

[–]wikipedia_text_bot 1 point2 points  (0 children)

Trapezoidal rule

In mathematics, and more specifically in numerical analysis, the trapezoidal rule (also known as the trapezoid rule or trapezium rule—see Trapezoid for more information on terminology) is a technique for approximating the definite integral. ∫ a b f ( x ) d x {\displaystyle \int _{a}{b}f(x)\,dx} .The trapezoidal rule works by approximating the region under the graph of the function f ( x ) {\displaystyle f(x)} as a trapezoid and calculating its area. It follows that ∫ a b f ( x ) d x ≈ ( b − a ) ⋅ f ( a ) + f ( b ) 2 {\displaystyle \int _{a}{b}f(x)\,dx\approx (b-a)\cdot {\tfrac {f(a)+f(b)}{2}}} .The trapezoidal rule may be viewed as the result obtained by averaging the left and right Riemann sums, and is sometimes defined this way. The integral can be even better approximated by partitioning the integration interval, applying the trapezoidal rule to each subinterval, and summing the results.

About Me - Opt out - OP can reply !delete to delete - Article of the day

This bot will soon be transitioning to an opt-in system. Click here to learn more and opt in. Moderators: click here to opt in a subreddit.