0
$\begingroup$

The trapezoidal rule is given by the following formula: $\int_{a}^{b}f(x) \approx \frac{b-a}{2}[f(a)+2\sum_{i=1}^{n-1}f(x_i)+f(b)] $

I have been given a question which wants me to evaluate the trapezoidal rule for two points, does this mean I evaluate the above equation for n=0 or n=2 ?

$\endgroup$
0
$\begingroup$

It means $$\int_a^b f(x)dx=\frac{b-a}{2}\left[f(a)+f(b)\right]$$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.