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
2
Q
What is Trapezoidal rule used for?
A
Either when n = odd or n = even.