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 (5,7)\) with \(\displaystyle n=38\).
\(\displaystyle \Delta x = \frac{ 7 - 5 }{ 38 }\). \(\displaystyle x_i = a +i\Delta x = 5 + i \frac{1}{19}\)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 = 5 + (2k-1)\cdot \frac{1}{19}\) for \(\displaystyle k=1\) to \(\displaystyle k =19\) and \(\displaystyle x_j = 5 + (2j)\cdot \frac{1}{19}\) for \(\displaystyle j=1\) to \(\displaystyle j =18\). \(\displaystyle f(5) +f(7)+4\sum_{k=1}^{19}f\left(\frac{2 k}{19} + \frac{94}{19}\right) + 2\sum_{j=1}^{18}f\left(\frac{2 j}{19} + 5\right)\). The value is \(\displaystyle 2.0284\)
\begin{question}Use Simpson's rule to find the arclength of the curve $f(x)=\ln{\left(x \right)}$ on $(5,7)$ with $n=38$.
\soln{9cm}{$\Delta x = \frac{ 7 - 5 }{ 38 }$. $x_i = a +i\Delta x = 5 + i \frac{1}{19}$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 = 5 + (2k-1)\cdot \frac{1}{19}$ for $k=1$ to $k =19$ and $x_j = 5 + (2j)\cdot \frac{1}{19}$ for $j=1$ to $j =18$. $f(5) +f(7)+4\sum_{k=1}^{19}f\left(\frac{2 k}{19} + \frac{94}{19}\right) + 2\sum_{j=1}^{18}f\left(\frac{2 j}{19} + 5\right)$. The value is $2.0284$}
\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 (5,7) " src="/equation_images/%20%5Cdisplaystyle%20%285%2C7%29%20" alt="LaTeX: \displaystyle (5,7) " data-equation-content=" \displaystyle (5,7) " /> with <img class="equation_image" title=" \displaystyle n=38 " src="/equation_images/%20%5Cdisplaystyle%20n%3D38%20" alt="LaTeX: \displaystyle n=38 " data-equation-content=" \displaystyle n=38 " /> . </p> </p><p> <p> <img class="equation_image" title=" \displaystyle \Delta x = \frac{ 7 - 5 }{ 38 } " src="/equation_images/%20%5Cdisplaystyle%20%5CDelta%20x%20%3D%20%5Cfrac%7B%207%20-%205%20%7D%7B%2038%20%7D%20" alt="LaTeX: \displaystyle \Delta x = \frac{ 7 - 5 }{ 38 } " data-equation-content=" \displaystyle \Delta x = \frac{ 7 - 5 }{ 38 } " /> . <img class="equation_image" title=" \displaystyle x_i = a +i\Delta x = 5 + i \frac{1}{19} " src="/equation_images/%20%5Cdisplaystyle%20x_i%20%3D%20a%20%2Bi%5CDelta%20x%20%3D%205%20%2B%20i%20%5Cfrac%7B1%7D%7B19%7D%20" alt="LaTeX: \displaystyle x_i = a +i\Delta x = 5 + i \frac{1}{19} " data-equation-content=" \displaystyle x_i = a +i\Delta x = 5 + i \frac{1}{19} " /> 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 = 5 + (2k-1)\cdot \frac{1}{19} " src="/equation_images/%20%5Cdisplaystyle%20x_k%20%3D%205%20%2B%20%282k-1%29%5Ccdot%20%5Cfrac%7B1%7D%7B19%7D%20" alt="LaTeX: \displaystyle x_k = 5 + (2k-1)\cdot \frac{1}{19} " data-equation-content=" \displaystyle x_k = 5 + (2k-1)\cdot \frac{1}{19} " /> 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 =19 " src="/equation_images/%20%5Cdisplaystyle%20k%20%3D19%20" alt="LaTeX: \displaystyle k =19 " data-equation-content=" \displaystyle k =19 " /> and <img class="equation_image" title=" \displaystyle x_j = 5 + (2j)\cdot \frac{1}{19} " src="/equation_images/%20%5Cdisplaystyle%20x_j%20%3D%205%20%2B%20%282j%29%5Ccdot%20%5Cfrac%7B1%7D%7B19%7D%20" alt="LaTeX: \displaystyle x_j = 5 + (2j)\cdot \frac{1}{19} " data-equation-content=" \displaystyle x_j = 5 + (2j)\cdot \frac{1}{19} " /> 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 =18 " src="/equation_images/%20%5Cdisplaystyle%20j%20%3D18%20" alt="LaTeX: \displaystyle j =18 " data-equation-content=" \displaystyle j =18 " /> . <img class="equation_image" title=" \displaystyle f(5) +f(7)+4\sum_{k=1}^{19}f\left(\frac{2 k}{19} + \frac{94}{19}\right) + 2\sum_{j=1}^{18}f\left(\frac{2 j}{19} + 5\right) " src="/equation_images/%20%5Cdisplaystyle%20f%285%29%20%2Bf%287%29%2B4%5Csum_%7Bk%3D1%7D%5E%7B19%7Df%5Cleft%28%5Cfrac%7B2%20k%7D%7B19%7D%20%2B%20%5Cfrac%7B94%7D%7B19%7D%5Cright%29%20%2B%202%5Csum_%7Bj%3D1%7D%5E%7B18%7Df%5Cleft%28%5Cfrac%7B2%20j%7D%7B19%7D%20%2B%205%5Cright%29%20" alt="LaTeX: \displaystyle f(5) +f(7)+4\sum_{k=1}^{19}f\left(\frac{2 k}{19} + \frac{94}{19}\right) + 2\sum_{j=1}^{18}f\left(\frac{2 j}{19} + 5\right) " data-equation-content=" \displaystyle f(5) +f(7)+4\sum_{k=1}^{19}f\left(\frac{2 k}{19} + \frac{94}{19}\right) + 2\sum_{j=1}^{18}f\left(\frac{2 j}{19} + 5\right) " /> . The value is <img class="equation_image" title=" \displaystyle 2.0284 " src="/equation_images/%20%5Cdisplaystyle%202.0284%20" alt="LaTeX: \displaystyle 2.0284 " data-equation-content=" \displaystyle 2.0284 " /> </p> </p>