Please login to create an exam or a quiz.
Use Simpson's rule to find the arclength of the curve \(\displaystyle f(x)=\cos{\left(x \right)}\) on \(\displaystyle (3,4)\) with \(\displaystyle n=28\).
\(\displaystyle \Delta x = \frac{ 4 - 3 }{ 28 }\). \(\displaystyle x_i = a +i\Delta x = 3 + i \frac{1}{28}\)Using the 1,4,2,...,2,4,1 pattern the sum can be written as \(\displaystyle x_i\) can be written split into the even and odd terms. \(\displaystyle x_k = 3 + (2k-1)\cdot \frac{1}{28}\) for \(\displaystyle k=1\) to \(\displaystyle k =14\) and \(\displaystyle x_j = 3 + (2j)\cdot \frac{1}{28}\) for \(\displaystyle j=1\) to \(\displaystyle j =13\). \(\displaystyle f(3) +f(4)+4\sum_{k=1}^{14}f\left(\frac{k}{14} + \frac{83}{28}\right) + 2\sum_{j=1}^{13}f\left(\frac{j}{14} + 3\right)\). The value is \(\displaystyle 1.0846\)
\begin{question}Use Simpson's rule to find the arclength of the curve $f(x)=\cos{\left(x \right)}$ on $(3,4)$ with $n=28$.
\soln{9cm}{$\Delta x = \frac{ 4 - 3 }{ 28 }$. $x_i = a +i\Delta x = 3 + i \frac{1}{28}$Using the 1,4,2,...,2,4,1 pattern the sum can be written as $x_i$ can be written split into the even and odd terms. $x_k = 3 + (2k-1)\cdot \frac{1}{28}$ for $k=1$ to $k =14$ and $x_j = 3 + (2j)\cdot \frac{1}{28}$ for $j=1$ to $j =13$. $f(3) +f(4)+4\sum_{k=1}^{14}f\left(\frac{k}{14} + \frac{83}{28}\right) + 2\sum_{j=1}^{13}f\left(\frac{j}{14} + 3\right)$. The value is $1.0846$}
\end{question}
\documentclass{article}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage[margin=2cm]{geometry}
\usepackage{tcolorbox}
\newcounter{ExamNumber}
\newcounter{questioncount}
\stepcounter{questioncount}
\newenvironment{question}{{\noindent\bfseries Question \arabic{questioncount}.}}{\stepcounter{questioncount}}
\renewcommand{\labelenumi}{{\bfseries (\alph{enumi})}}
\newif\ifShowSolution
\newcommand{\soln}[2]{%
\ifShowSolution%
\noindent\begin{tcolorbox}[colframe=blue,title=Solution]#2\end{tcolorbox}\else%
\vspace{#1}%
\fi%
}%
\newcommand{\hideifShowSolution}[1]{%
\ifShowSolution%
%
\else%
#1%
\fi%
}%
\everymath{\displaystyle}
\ShowSolutiontrue
\begin{document}\begin{question}(10pts) The question goes here!
\soln{9cm}{The solution goes here.}
\end{question}\end{document}<p> <p>Use Simpson's rule to find the arclength of the curve <img class="equation_image" title=" \displaystyle f(x)=\cos{\left(x \right)} " src="/equation_images/%20%5Cdisplaystyle%20f%28x%29%3D%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%20" alt="LaTeX: \displaystyle f(x)=\cos{\left(x \right)} " data-equation-content=" \displaystyle f(x)=\cos{\left(x \right)} " /> on <img class="equation_image" title=" \displaystyle (3,4) " src="/equation_images/%20%5Cdisplaystyle%20%283%2C4%29%20" alt="LaTeX: \displaystyle (3,4) " data-equation-content=" \displaystyle (3,4) " /> with <img class="equation_image" title=" \displaystyle n=28 " src="/equation_images/%20%5Cdisplaystyle%20n%3D28%20" alt="LaTeX: \displaystyle n=28 " data-equation-content=" \displaystyle n=28 " /> . </p> </p><p> <p> <img class="equation_image" title=" \displaystyle \Delta x = \frac{ 4 - 3 }{ 28 } " src="/equation_images/%20%5Cdisplaystyle%20%5CDelta%20x%20%3D%20%5Cfrac%7B%204%20-%203%20%7D%7B%2028%20%7D%20" alt="LaTeX: \displaystyle \Delta x = \frac{ 4 - 3 }{ 28 } " data-equation-content=" \displaystyle \Delta x = \frac{ 4 - 3 }{ 28 } " /> . <img class="equation_image" title=" \displaystyle x_i = a +i\Delta x = 3 + i \frac{1}{28} " src="/equation_images/%20%5Cdisplaystyle%20x_i%20%3D%20a%20%2Bi%5CDelta%20x%20%3D%203%20%2B%20i%20%5Cfrac%7B1%7D%7B28%7D%20" alt="LaTeX: \displaystyle x_i = a +i\Delta x = 3 + i \frac{1}{28} " data-equation-content=" \displaystyle x_i = a +i\Delta x = 3 + i \frac{1}{28} " /> Using the 1,4,2,...,2,4,1 pattern the sum can be written as <img class="equation_image" title=" \displaystyle x_i " src="/equation_images/%20%5Cdisplaystyle%20x_i%20" alt="LaTeX: \displaystyle x_i " data-equation-content=" \displaystyle x_i " /> can be written split into the even and odd terms. <img class="equation_image" title=" \displaystyle x_k = 3 + (2k-1)\cdot \frac{1}{28} " src="/equation_images/%20%5Cdisplaystyle%20x_k%20%3D%203%20%2B%20%282k-1%29%5Ccdot%20%5Cfrac%7B1%7D%7B28%7D%20" alt="LaTeX: \displaystyle x_k = 3 + (2k-1)\cdot \frac{1}{28} " data-equation-content=" \displaystyle x_k = 3 + (2k-1)\cdot \frac{1}{28} " /> for <img class="equation_image" title=" \displaystyle k=1 " src="/equation_images/%20%5Cdisplaystyle%20k%3D1%20" alt="LaTeX: \displaystyle k=1 " data-equation-content=" \displaystyle k=1 " /> to <img class="equation_image" title=" \displaystyle k =14 " src="/equation_images/%20%5Cdisplaystyle%20k%20%3D14%20" alt="LaTeX: \displaystyle k =14 " data-equation-content=" \displaystyle k =14 " /> and <img class="equation_image" title=" \displaystyle x_j = 3 + (2j)\cdot \frac{1}{28} " src="/equation_images/%20%5Cdisplaystyle%20x_j%20%3D%203%20%2B%20%282j%29%5Ccdot%20%5Cfrac%7B1%7D%7B28%7D%20" alt="LaTeX: \displaystyle x_j = 3 + (2j)\cdot \frac{1}{28} " data-equation-content=" \displaystyle x_j = 3 + (2j)\cdot \frac{1}{28} " /> for <img class="equation_image" title=" \displaystyle j=1 " src="/equation_images/%20%5Cdisplaystyle%20j%3D1%20" alt="LaTeX: \displaystyle j=1 " data-equation-content=" \displaystyle j=1 " /> to <img class="equation_image" title=" \displaystyle j =13 " src="/equation_images/%20%5Cdisplaystyle%20j%20%3D13%20" alt="LaTeX: \displaystyle j =13 " data-equation-content=" \displaystyle j =13 " /> . <img class="equation_image" title=" \displaystyle f(3) +f(4)+4\sum_{k=1}^{14}f\left(\frac{k}{14} + \frac{83}{28}\right) + 2\sum_{j=1}^{13}f\left(\frac{j}{14} + 3\right) " src="/equation_images/%20%5Cdisplaystyle%20f%283%29%20%2Bf%284%29%2B4%5Csum_%7Bk%3D1%7D%5E%7B14%7Df%5Cleft%28%5Cfrac%7Bk%7D%7B14%7D%20%2B%20%5Cfrac%7B83%7D%7B28%7D%5Cright%29%20%2B%202%5Csum_%7Bj%3D1%7D%5E%7B13%7Df%5Cleft%28%5Cfrac%7Bj%7D%7B14%7D%20%2B%203%5Cright%29%20" alt="LaTeX: \displaystyle f(3) +f(4)+4\sum_{k=1}^{14}f\left(\frac{k}{14} + \frac{83}{28}\right) + 2\sum_{j=1}^{13}f\left(\frac{j}{14} + 3\right) " data-equation-content=" \displaystyle f(3) +f(4)+4\sum_{k=1}^{14}f\left(\frac{k}{14} + \frac{83}{28}\right) + 2\sum_{j=1}^{13}f\left(\frac{j}{14} + 3\right) " /> . The value is <img class="equation_image" title=" \displaystyle 1.0846 " src="/equation_images/%20%5Cdisplaystyle%201.0846%20" alt="LaTeX: \displaystyle 1.0846 " data-equation-content=" \displaystyle 1.0846 " /> </p> </p>