Let f(x) = |x| + |x − 1| + |x − 2|, x ∈ [−1, 2]. Which one of the following numerical integration rules gives the exact value of the integral

\(\rm \int_{-1}^2 f(x) d x\)

1
The Simpson’s rule
2
The trapezoidal rule
3
The composite Simpson’s rule by dividing [−1, 2] into 4 equal subintervals
4
The composite trapezoidal rule by dividing [−1, 2] into 3 equal subintervals

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation