Please login to create an exam or a quiz.
Use Simpson's rule to find the arclength of the curve \(\displaystyle f(x)=\ln{\left(x \right)}\) on \(\displaystyle (4,8)\) with \(\displaystyle n=40\).
\(\displaystyle \Delta x = \frac{ 8 - 4 }{ 40 }\). \(\displaystyle x_i = a +i\Delta x = 4 + i \frac{1}{10}\)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 = 4 + (2k-1)\cdot \frac{1}{10}\) for \(\displaystyle k=1\) to \(\displaystyle k =20\) and \(\displaystyle x_j = 4 + (2j)\cdot \frac{1}{10}\) for \(\displaystyle j=1\) to \(\displaystyle j =19\). \(\displaystyle f(4) +f(8)+4\sum_{k=1}^{20}f\left(\frac{k}{5} + \frac{39}{10}\right) + 2\sum_{j=1}^{19}f\left(\frac{j}{5} + 4\right)\). The value is \(\displaystyle 4.0619\)
\begin{question}Use Simpson's rule to find the arclength of the curve $f(x)=\ln{\left(x \right)}$ on $(4,8)$ with $n=40$.
\soln{9cm}{$\Delta x = \frac{ 8 - 4 }{ 40 }$. $x_i = a +i\Delta x = 4 + i \frac{1}{10}$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 = 4 + (2k-1)\cdot \frac{1}{10}$ for $k=1$ to $k =20$ and $x_j = 4 + (2j)\cdot \frac{1}{10}$ for $j=1$ to $j =19$. $f(4) +f(8)+4\sum_{k=1}^{20}f\left(\frac{k}{5} + \frac{39}{10}\right) + 2\sum_{j=1}^{19}f\left(\frac{j}{5} + 4\right)$. The value is $4.0619$}
\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)=\ln{\left(x \right)} " src="/equation_images/%20%5Cdisplaystyle%20f%28x%29%3D%5Cln%7B%5Cleft%28x%20%5Cright%29%7D%20" alt="LaTeX: \displaystyle f(x)=\ln{\left(x \right)} " data-equation-content=" \displaystyle f(x)=\ln{\left(x \right)} " /> on <img class="equation_image" title=" \displaystyle (4,8) " src="/equation_images/%20%5Cdisplaystyle%20%284%2C8%29%20" alt="LaTeX: \displaystyle (4,8) " data-equation-content=" \displaystyle (4,8) " /> with <img class="equation_image" title=" \displaystyle n=40 " src="/equation_images/%20%5Cdisplaystyle%20n%3D40%20" alt="LaTeX: \displaystyle n=40 " data-equation-content=" \displaystyle n=40 " /> . </p> </p><p> <p> <img class="equation_image" title=" \displaystyle \Delta x = \frac{ 8 - 4 }{ 40 } " src="/equation_images/%20%5Cdisplaystyle%20%5CDelta%20x%20%3D%20%5Cfrac%7B%208%20-%204%20%7D%7B%2040%20%7D%20" alt="LaTeX: \displaystyle \Delta x = \frac{ 8 - 4 }{ 40 } " data-equation-content=" \displaystyle \Delta x = \frac{ 8 - 4 }{ 40 } " /> . <img class="equation_image" title=" \displaystyle x_i = a +i\Delta x = 4 + i \frac{1}{10} " src="/equation_images/%20%5Cdisplaystyle%20x_i%20%3D%20a%20%2Bi%5CDelta%20x%20%3D%204%20%2B%20i%20%5Cfrac%7B1%7D%7B10%7D%20" alt="LaTeX: \displaystyle x_i = a +i\Delta x = 4 + i \frac{1}{10} " data-equation-content=" \displaystyle x_i = a +i\Delta x = 4 + i \frac{1}{10} " /> 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 = 4 + (2k-1)\cdot \frac{1}{10} " src="/equation_images/%20%5Cdisplaystyle%20x_k%20%3D%204%20%2B%20%282k-1%29%5Ccdot%20%5Cfrac%7B1%7D%7B10%7D%20" alt="LaTeX: \displaystyle x_k = 4 + (2k-1)\cdot \frac{1}{10} " data-equation-content=" \displaystyle x_k = 4 + (2k-1)\cdot \frac{1}{10} " /> 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 =20 " src="/equation_images/%20%5Cdisplaystyle%20k%20%3D20%20" alt="LaTeX: \displaystyle k =20 " data-equation-content=" \displaystyle k =20 " /> and <img class="equation_image" title=" \displaystyle x_j = 4 + (2j)\cdot \frac{1}{10} " src="/equation_images/%20%5Cdisplaystyle%20x_j%20%3D%204%20%2B%20%282j%29%5Ccdot%20%5Cfrac%7B1%7D%7B10%7D%20" alt="LaTeX: \displaystyle x_j = 4 + (2j)\cdot \frac{1}{10} " data-equation-content=" \displaystyle x_j = 4 + (2j)\cdot \frac{1}{10} " /> 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 =19 " src="/equation_images/%20%5Cdisplaystyle%20j%20%3D19%20" alt="LaTeX: \displaystyle j =19 " data-equation-content=" \displaystyle j =19 " /> . <img class="equation_image" title=" \displaystyle f(4) +f(8)+4\sum_{k=1}^{20}f\left(\frac{k}{5} + \frac{39}{10}\right) + 2\sum_{j=1}^{19}f\left(\frac{j}{5} + 4\right) " src="/equation_images/%20%5Cdisplaystyle%20f%284%29%20%2Bf%288%29%2B4%5Csum_%7Bk%3D1%7D%5E%7B20%7Df%5Cleft%28%5Cfrac%7Bk%7D%7B5%7D%20%2B%20%5Cfrac%7B39%7D%7B10%7D%5Cright%29%20%2B%202%5Csum_%7Bj%3D1%7D%5E%7B19%7Df%5Cleft%28%5Cfrac%7Bj%7D%7B5%7D%20%2B%204%5Cright%29%20" alt="LaTeX: \displaystyle f(4) +f(8)+4\sum_{k=1}^{20}f\left(\frac{k}{5} + \frac{39}{10}\right) + 2\sum_{j=1}^{19}f\left(\frac{j}{5} + 4\right) " data-equation-content=" \displaystyle f(4) +f(8)+4\sum_{k=1}^{20}f\left(\frac{k}{5} + \frac{39}{10}\right) + 2\sum_{j=1}^{19}f\left(\frac{j}{5} + 4\right) " /> . The value is <img class="equation_image" title=" \displaystyle 4.0619 " src="/equation_images/%20%5Cdisplaystyle%204.0619%20" alt="LaTeX: \displaystyle 4.0619 " data-equation-content=" \displaystyle 4.0619 " /> </p> </p>