Hi,
can someone help me understanding the following equation?
I have to approximate the integral using numerical maths.
Let $I$ be the integral $\int_{-1}^{1}{e^{cos(x)}}$.
I have to calculate the approximation using the simpson rule. And let $n=2$.
Hint: Let $f(x)=e^{cos(x)}$. Then $\max_{x \in \mathbb{R}}|f^{(4)}(x)|=4e$
I have got the solution sheet here but I do not understand the result:
$I_S = \frac{h_S}{6}(e^{\cos(-1)}+4e^{\cos(-0,5)}+2e^{\cos(0)}+4e^{\cos(0,5)}+e^{\cos(1)})$
I am very happy for any help :)