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

LaTeX:  \displaystyle \Delta x = \frac{ 10 - 2 }{ 34 } . LaTeX:  \displaystyle x_i = a +i\Delta x = 2 + i \frac{4}{17} 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 = 2 + (2k-1)\cdot \frac{4}{17} for LaTeX:  \displaystyle k=1 to LaTeX:  \displaystyle k =17 and LaTeX:  \displaystyle x_j = 2 + (2j)\cdot \frac{4}{17} for LaTeX:  \displaystyle j=1 to LaTeX:  \displaystyle j =16 . LaTeX:  \displaystyle f(2) +f(10)+4\sum_{k=1}^{17}f\left(\frac{8 k}{17} + \frac{30}{17}\right) + 2\sum_{j=1}^{16}f\left(\frac{8 j}{17} + 2\right) . The value is LaTeX:  \displaystyle 9.5563