The value of a function f(x) is given only at \(x = 0,\frac{1}{3},\frac{2}{3},1\) Which of the following can be used to numerically evaluate \(\mathop \smallint \limits_0^1 f\left( x \right)dx\ ?\)
1
Trapezoidal rule
2
Simpson's (1/3)rd rule
3
Both A and B
4
Neither A nor B