Simpson’s rule is exact for polynomials of degree at most three, including this quadratic. Thus the integral is $[x^3/3-x^2]_1^3=0-(-2/3)=2/3$. Hence **n = 2**.
More Numerical Methods questions
GATE 2024 PI Q47– At x = 0,1,2,3,4, tabulated y values are 1,3,6,9,12. Use the trapezoidal rule for 04y(x)dx…
GATE 2023 PI Q27– Use Euler’s method for dy/dx=x3y-4, y(0) = 1, with step 0.1. Find y(0.1) to two decimals.
GATE 2023 PI Q48– Apply Newton–Raphson to x5-15=0, starting at x₀ = 1. Find the first approximation x₁ to…
GATE 2022 PI Q12– Numerically integrate y = 2x+5 from x = 1 to 3 using ordinates at x = 1,2,3. Which…
GATE 2021 PI Q63– At x = 0,1,…,10, y(x) values are 5,3,0,−5,−10,−6,0,5,11,18,30. Use the trapezoidal rule…
GATE 2026 PI Q15– Using numerical integration, which option most closely approximates 01e-x2dx?