Use Simpson's rule to find the arclength of the curve LaTeX:  \displaystyle f(x)=\cos{\left(x \right)} on LaTeX:  \displaystyle (4,9) with LaTeX:  \displaystyle n=22 .

LaTeX:  \displaystyle \Delta x = \frac{ 9 - 4 }{ 22 } . LaTeX:  \displaystyle x_i = a +i\Delta x = 4 + i \frac{5}{22} Using the 1,4,2,...,2,4,1 pattern the sum can be written as LaTeX:  \displaystyle x_i can be written split into the even and odd terms. LaTeX:  \displaystyle x_k = 4 + (2k-1)\cdot \frac{5}{22} for LaTeX:  \displaystyle k=1 to LaTeX:  \displaystyle k =11 and LaTeX:  \displaystyle x_j = 4 + (2j)\cdot \frac{5}{22} for LaTeX:  \displaystyle j=1 to LaTeX:  \displaystyle j =10 . LaTeX:  \displaystyle f(4) +f(9)+4\sum_{k=1}^{11}f\left(\frac{5 k}{11} + \frac{83}{22}\right) + 2\sum_{j=1}^{10}f\left(\frac{5 j}{11} + 4\right) . The value is LaTeX:  \displaystyle 6.2611