1. Integrating a Quadratic Polynomial
Calculus StudentBackground
A student needs to solve ∫₀¹ x² dx using 4 subintervals for a numerical methods assignment and verify the error against the exact integral.
Problem
Calculate the composite trapezoid sum and compare it to the exact antiderivative x³/3.
How to use
Enter x^2 for f(x), set lower limit 0, upper limit 1, subintervals 4, and exact antiderivative x^3/3.
f(x) = x^2, a = 0, b = 1, n = 4, exactF = x^3/3, decimalPlaces = 6Outcome
Outputs a step size h = 0.25, node table, trapezoid estimate T ≈ 0.343750, exact value 0.333333, and absolute error 0.010417.