# Problem applying Simpson's rule I = <msubsup> &#x222B;<!-- ∫ --> 0 2 </

Problem applying Simpson's rule
$I={\int }_{0}^{2}\frac{1}{x+4}dx$
with $n=4$.
You can still ask an expert for help

• Live experts 24/7
• Questions are typically answered in as fast as 30 minutes
• Personalized clear answers

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Rafael Dillon
The factor should be
$\frac{\left(b-a\right)}{3n}$
with $b-a=2$ and $n=4$ you get $1/6$ and not $1/3$. One half of $0.8$ is $0.4$ which is close to the exact value.
You can quickly check the correctness of the factor by using the constant function $f=1$.