∫Calc Practice

Trapezoidal, midpoint and Simpson's rules

Problem 4.827 · medium

Approximate \( \displaystyle \int_{0}^{2} x^{2}\, dx \) using the midpoint rule with \( \displaystyle n = 6 \).
  1. \[ 1 \cdot \frac{1}{3} = \frac{1}{3} \]
    Δx = (b − a)/n.✓ Proved
  2. The midpoint rule uses the points x = 1/6, 1/2, 5/6, 7/6, 3/2, 11/6 with weights 1, 1, 1, 1, 1, 1, all times 1/3.
    Reviewed
  3. \[ \frac{1 \cdot 1 \cdot \frac{1}{36} + 1 \cdot 1 \cdot \frac{1}{4} + 1 \cdot 25 \cdot \frac{1}{36} + 1 \cdot 49 \cdot \frac{1}{36} + 1 \cdot 9 \cdot \frac{1}{4} + 1 \cdot 121 \cdot \frac{1}{36}}{3} = \frac{143}{54} \]
    Weighted sum of the function values.✓ Proved
  4. \[ \int\limits_{0}^{2} x^{2}\, dx = \frac{8}{3} \]
    The exact value, ≈ 2.666667, for comparison: the error is about 1.85e-02.✓ Proved
Answer \( M_{6} = \frac{143}{54} \approx 2.648148 \)

✓ Nihil obstat Lines: 3 proved, 1 reviewed. The answer was also checked a second way, without looking at the solution. Reviewers found nothing wrong with the explanation.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0the rule implemented separately in floating point

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly identifies the subinterval width and midpoints, and the final calculation is accurate.
Every verdict on record (4)
  • gpt-oss:20b: pass 2026-10-10
  • qwen3.6:27b-mlx: pass 2026-10-10 — The solution correctly identifies the subinterval width and midpoints, and the final calculation is accurate.
  • gpt-oss:20b: pass 2026-10-10
  • qwen3.6:27b-mlx: pass 2026-10-10 — The solution correctly identifies the subinterval width and midpoints, and the arithmetic is correct.

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by generator:structured/numerical_integration, checked 2026-10-10 with SymPy 1.14.0.