Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Numerical integration with the trapezoidal and Simpson’s rules

    Approximate the definite integral of a polynomial with the composite trapezoidal rule or Simpson's rule.

    Calculate the result

    Up to 7 coefficients in descending powers. Enter 0 for a missing term. Separate the values with a Greek question mark (;), space, or newline. For decimals, use a comma or a period.

    From 1 to 400. For Simpson, an even number is needed.

    h=b−anI≈h∑i=0nwif(a+ih)

    Worked example

    Problem

    Approximate the integral of x² from 0 to 2 with composite Simpson's rule and four subintervals.

    Simpson with four subintervals gives 8/3 for the integral of x² from 0 to 2.

    1. Find the step

      h=(2−0)/4=0.5
    2. Apply the Simpson coefficients

      I≈0.53(0+1+2+9+4)=83
    Ask AI for a step-by-step solution

    Common mistake

    In composite Simpson's rule, the weights alternate 4 and 2, and the number of subintervals is even. The integral is signed.