Carson Witt
\documentclass{article}1\title{\vspace{-4.0cm}Fencing a Livestock Pen}2\author{Carson Witt}3\date{October 14, 2016}45\usepackage{graphicx}6\usepackage{color}7\usepackage{amsmath}8\usepackage{bm}9\usepackage{indentfirst}1011\begin{document}12\maketitle1314\section*{Abstract}15You are working over the summer at a fencing company. The client that you are currently working with owns a small ranch. This client asks you to fence off a large rectangular livestock pen. However, the client has only given you enough money for 140 feet of fencing. Your job is to make a livestock pen with the largest area possible. The client has also asked you to model a function for possible areas of the livestock pen. \par16Original Problem: A gardener has 140 feet of fencing to fence in a rectangular vegetable garden. Find a function that models the area of the garden she can fence. For what range is the area greater than 825 square feet? Can she fence a garden with area 1250 square feet? Find the dimensions of the largest area she can fence.171819\section*{Procedure}20In order to solve this problem, you must know a few base equations.2122\begin{enumerate}23\item Perimeter of a rectangle: $P=2l+2w$ where $l$ is length, and $w$ is width.24\item Area of a rectangle: $A=lw$ where $l$ is length and $w$ is width.25\end{enumerate}2627I then plugged in the given perimeter of 140 and solved the equation in terms of $l$. To get the final function, plug in the solved value of $l$ into the area formula. The function should then be in terms of $w$.2829\begin{table}[h]30\centering31\begin{tabular}{cc}32\begin{minipage}{0.03\textwidth}33\begin{align*}34140 = 2w + 2l \\35\downarrow \\362l = 140-2w \\37\downarrow \\38l = 70-w \\39\downarrow \\40A(w) = wl \\41\downarrow \\42\mathbf{\textcolor{blue}{A(w) = w(70-w)}} \\43\end{align*}44\end{minipage}45&46\begin{minipage}{0.97\textwidth}47\includegraphics[scale=0.45]{graph_without_range.pdf}48\end{minipage}49\end{tabular}50\end{table}5152We have now found a function for the area of the rectangle in terms of its width!5354\newpage55When answering the second part of the question (For what range is the area greater than 825 square feet?), simply draw the line $y=825$ onto the pre-existing graph. Any value of $A(w)$ above the line is on the range of areas greater than 825 feet.56$$57\textcolor{blue}{A(w) = w(70-w)}58$$59\begin{center}60and61\end{center}62$$63\textcolor{red}{F(w) = 825}64$$65\begin{center}66yields67\end{center}6869\begin{center}70\includegraphics[scale=0.6]71{graph_with_range.pdf}72\end{center}7374From this graph, you can determine that in order to have an area greater than 825 feet, you must have a width in this limit: $15<w<55$.7576\vspace{0.2cm}{To find the maximum area you can fence, simply find the max y-value for $A(w)$.}7778\begin{center}79\includegraphics[scale=0.6]80{graph_with_maximum.pdf}81\end{center}8283From this graph, you can determine that maximum possible area the gardener can fence is 1225 square feet. Therefore, you \textbf{cannot} fence a garden with an area of 1250 square feet.8485\section*{Conclusion}86\noindent Key Points:87\begin{enumerate}88\item Formula for area: $A(w) = w(70-w)$89\item The maximum area you can fence is 1225 square feet90\begin{itemize}91\item length: 105 feet92\item width: 35 feet93\end{itemize}94\item In order to have an area greater than 825 square feet, the width of the livestock pen must be greater than 15 feet but less than 55 feet.95\end{enumerate}9697\noindent Analysis:9899This was a very fun first project. While the problem was not difficult, I enjoyed getting to know SageMathCloud and the \enspace \LaTeX \enspace programming language. While the basics of \enspace \LaTeX \enspace are straightforward, some issues such as spacing and font size troubled me. In addition, the SageMath Worksheets are very confusing to me. For example, in order to make the graphs, I had to copy and paste Mr. Abell's example code into a new SageMath Worksheet and plug in my own values and restrictions. But, while challenging, I was abel to add little nuances such as color and point labels to the SageMath Worksheet.100\end{document}101102