So far this is what i got,
use trapezoid rule for linear problems, simpsons rule for quadratic polynomial (parabolas)
n value can be odd or even for trapezoid (better if its odd)
n value should be even for simpsons rule
to improve accuracy for both rules, increase number of n.
are these correct? Other than increasing number of n for both rules, what are some other ways to improve the accuracy for these two rules?
use trapezoid rule for linear problems, simpsons rule for quadratic polynomial (parabolas)
n value can be odd or even for trapezoid (better if its odd)
n value should be even for simpsons rule
to improve accuracy for both rules, increase number of n.
are these correct? Other than increasing number of n for both rules, what are some other ways to improve the accuracy for these two rules?