Some terminological questions about numerical integration:
When a question states trapezoidal rule with 2 points, does that mean 2 subintervals or 3 subintervals? Since 3 subintervals have 2 points other than the end points.
How about a Gaussian rule with 2 quadrature points? Does that mean when $n=2$? So the integral can be approximated by $$\sum_{i=0}^{2}A_if(x_i)=A_0f(x_0)+A_1f(x_1)+A_2f(x_2)$$ But then there will be 3 $x_i$'s? Which means there are "3 points"? Or does "Gaussian rule with 2 points" mean $n=1$?
Thanks for the clarification.