Trapezoidal And Simpson Rule Flashcards

1
Q

What is the formula for Trapezoidal rule?

A

h/2 • [f(x0) + 2f(x1) + 2f(x2) + 2(fx3) + … + f(xl)]

Where xl is the last term. Basically the first and last terms aren’t multiplied by 2 while the others are.

h = b-a/2n ; and the intervals are given as b-a/n

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Trapezoidal rule used for?

A

Either when n = odd or n = even.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly