Carson Witt
\documentclass{article}1\title{Parametric Projectile Project}2\author{Carson Witt}34\usepackage{amsmath}5\usepackage{graphicx}67\begin{document}8\maketitle910\section*{Abstract}1112\textbf{The Problem} \par13A cannon fires a projectile at some angle $\theta$ (with respect to the horizontal) with an initial velocity of $v_0$ and hits a wall that is $d$ meters away. Create a set of parametric equations that models the flight of the projectile, as well as the bounce off of the wall. \par1415\vspace{0.2cm}{\noindent{\textbf{Some Rules and Reminders}} \par16\begin{enumerate}17\item The impact between the projectile and the wall is purely elastic. Because of this, the horizontal velocity is \textbf{constant} and stays the same after the projectile hits the wall.18\item Depending on the values of $\theta$, $v_0$, and $d$, the projectile may fall short of the wall.19\item Assume that the wall is infinitely tall; the projectile will never clear the wall.20\item $\theta$ is measured in radians. $v_0$ is measured in meters per second. $d$ is measured in meters.21\end{enumerate}}2223\noindent{\textbf{Parametric Equations}} \par24Parametric Equations are extremely effective at describing two-dimensional curves by separating the $x$ and $y$ positions. For example, the position, $P$, of a point at any time $t$ can be written as25$$26P: \begin{cases}27x &= f(t) \\28y &= g(t)29\end{cases}30$$31where $f$ and $g$ are functions of $t$.3233\section*{Part One -- The Cannonball}3435\noindent{\textbf{Values Used}} \par36While the parametric equations are applicable to any conditions, I will use my own $\theta$, $v_0$, and $d$ values for the sake of modeling the functions ($d$ is not applicable until part two). My values are37\begin{itemize}38\item $\theta = \pi/3$ radians39\item $v_0 = 25$ m/s40\item $d = 50$ meters41\end{itemize}4243\noindent{\textbf{Gravity}} \par44If one was to fire a projectile into the air from ground level with an angle $\theta$ and an initial velocity $v_0$, the parametric equation to model the position of the projectile would be45$$46P: \begin{cases}47x(t) &= (v_0 \cos \theta)t \\48y(t) &= (v_0 \sin \theta)t49\end{cases}50$$51While this is a correct parametric equation, gravitational pull has not been taken into account. Without the force of gravity, the projectile will continue indefinitely at the same speed and direction. When graphed, path of the projectile looks like Figure \ref{nogravity}:5253\begin{figure}[h]54\centering55\includegraphics[scale=0.6]{no_gravity_no_wall.pdf}56\caption{A projectile fired with $\theta = \pi/3$ and $v_0 = 25$ m/s. However, gravitational pull has not been taken into account.}57\label{nogravity}58\end{figure}5960Because gravity only affects the $y$ parameter, the $x$ parameter will remain unchanged when accounting for the gravitational pull. To adjust the $y$ parameter, I used the projectile motion model: $y(t) = -1/2gt^2 + v_0t + y_0$ where $g$ is the gravitational constant of $9.8$ meters/second$^2$ and $y_0$ is the initial $y$ position. Because both parametric equations and the projectile motion model are functions of time, the projectile motion model can be used in our parametric equation. Therefore, the model is changed to6162\begin{center}63$P(t) =64\begin{cases}65x(t) = v_0 cos(\theta)t \\66y(t) = -4.9t^2 + v_0 sin(\theta)t + y_067\end{cases}$68\end{center}6970\begin{center}71$0\leq t \leq t_f$ without wall \\72$0\leq t \leq t_i$ with wall \\73\end{center}7475\begin{center}76or77\end{center}7879\begin{center}80$P(t) =81\begin{cases}82x(t) = 25 cos(\pi/3)t \\83y(t) = -4.9t^2 + 25 sin(\pi/3)t84\end{cases}$85\end{center}8687\begin{center}88$0\leq t \leq t_f$ without wall \\89$0\leq t \leq t_i$ with wall \\90\end{center}9192Where $t_f$ is the time that the projectile hits the ground. Solve for $t_f$ by setting the $y$ parameter of the equation to $0$ and solve using the quadratic formula. The non-zero value will be $t_f$. \textbf{*NOTE, $t_i$ is the time that the projectile hits the wall in Part 2. $t_f$ will only be used when there is either no wall or the projectile falls short of the wall.} \par9394\vspace{0.2cm}{The parametric equation without a wall looks like Figure \ref{withgravity} when represented graphically:}9596\begin{figure}[h]97\centering98\includegraphics[scale=0.4]{with_gravity_no_wall.pdf}99\caption{A projectile fired with $\theta = \pi/3$ and $v_0 = 25$ m/s. This time, gravitational pull has been taken into account. In addition, there is no wall, constituting a $t$ range of $0\leq t \leq t_f$.}100\label{withgravity}101\end{figure}102103\vspace{0.2cm}{\noindent{\textbf{Solving for $t_i$}}} \par104105This time, assume that there is a wall $50$ m away so that we can solve for $t_i$. To solve for $t_i$, use the property: time = distance / velocity, or106$$107t_i = d/v_0cos(\theta)108$$109After plugging in the values, you get $t_i = 50 / 25cos(\pi/3) = 4$. \par110111\vspace{0.1cm}{\noindent{\textbf{The projectile will hit the wall 4 seconds after launch.}}}112113We now have a successful model for projectile motion using parametric functions!114115\section*{Part Two - Bouncing Off a Wall}116117Now that we have derived a parametric equation for projectile motion, we must derive a parametric equation that accounts for the projectile bouncing off of a wall.118119\vspace{0.2cm}{\noindent{\textbf{The Equation:}}} \par120121\begin{center}122$P(t) =123\begin{cases}124x(t) = d-v_0 cos(-\theta)t \\125y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w126\end{cases}$127\end{center}128129\begin{center}130$0 \leq t \leq t_g$131\end{center}132133where $y_w$ is the y-position of the projectile the instant it comes into contact with the wall and $t_g$ is the time that the projectile hits the ground.134135\vspace{0.2cm}{\noindent{\textbf{Explanation:}}} \par136\begin{itemize}137\item The $t$ range starts from $0$ because the bounce is expressed as a separate parametric equation. Because of this, for the sake of the equation, we assume that time "resets" to $0$ after $t_i$.138\item $v_0$ and $\theta$ are negative in both the x and y parameters because the equation works out algebraically when plugging in a $t$ value. For example, when $t = 0$, you will get coordinates of $(d, y_w)$. This is true because at $t=0$, the projectile has just made impact with the wall.139\item The initial x-position of the projectile at the bounce is the same as the position of the wall relative to the cannon, or $d$. Therefore, $d = x_0$.140\item $y_w$ is the y-position of the projectile at the moment of impact with the wall. Because this parametric equation starts right after impact, $y_w$ serves as the initial y-position. \par141\end{itemize}142143\vspace{0.2cm}{\noindent{\textbf{Solving For Unknowns:}}} \par144145After plugging in my values for $\theta$, $v_0$, and $d$, you get this parametric equation:146147\begin{center}148$P(t) =149\begin{cases}150x(t) = -25 cos(-\pi/3)t + 50 \\151y(t) = -4.9t^2 -25 sin(-\pi/3)t + y_w152\end{cases}$153\end{center}154155\begin{center}156$0 \leq t \leq t_g$157\end{center}158159However, there are still two unknowns, $y_w$ , and $t_g$. \par160161\begin{itemize}162\item To solve for $y_w$, use the concept: $y_w = y(t_i)$. Expanding $y_w$ yields:163$$164y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))165$$166$$167y_w = -4.9(50/25cos(\pi/3))^2 + 25sin(\pi/3)(50/25cos(\pi/3))168$$169$$170y_w = 8.2171$$172\textbf{The projectile will hit the wall at a height of 8.2 meters above the ground.}173\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.174$$175-4.9t^2 -25sin(-\pi/3)t = 0176$$177$$178t = 0, 4.42179$$180$$181t = 4.42182$$183184\textbf{The projectile will hit the ground approximately 4.42 seconds after it bounces off the wall.} \par185\end{itemize}186187When graphed, the entire projectile launch looks like Figure \ref{withwall}:188189\begin{figure}[h]190\centering191\includegraphics[scale=0.6]{with_gravity_with_wall.pdf}192\caption{Entire projectile launch, where $\theta = \pi/3$, $v_0 = 25$, and $d = 50$.}193\label{withwall}194\end{figure}195196\section*{Conclusion}197198\vspace{-0.2cm}{\noindent{The final parametric equations when accounting for gravity are as follows:}}199200\vspace{0.2cm}{\textbf{\noindent{Before Impact:}}}201202\begin{center}203$P(t) =204\begin{cases}205x(t) = v_0 cos(\theta)t \\206y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0207\end{cases}$208\end{center}209210\begin{center}211$0\leq t \leq t_i$212\end{center}213214\vspace{0.2cm}{\textbf{\noindent{After Impact:}}}215216\begin{center}217$P(t) =218\begin{cases}219x(t) = d-v_0 cos(-\theta)t \\220y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w221\end{cases}$222\end{center}223224\begin{center}225$0 \leq t \leq t_g$226\end{center}227228\noindent{\textbf{Unknowns:}} \par229\begin{itemize}230\item $y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))$231\item $t_i = d/v_0cos(\theta)$232\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.233$$234-4.9t^2 -v_0sin(-\theta)t = 0235$$236\end{itemize}237238\noindent{\textbf{Values and Answers:}} \par239\begin{itemize}240\item $\theta = \pi/3$ radians.241\item $v_0 = 25$ m/s.242\item $d = 50$ m.243\item The projectile will hit the wall 4 seconds after launch.244\item The projectile will hit the wall at a height of 8.2 meters above the ground.245\item The projectile will hit the ground 4.42 seconds after it bounces off the wall.246\end{itemize}247248This project was extremely interesting, but it was the most challenging one for me so far. I found the most trouble when graphing in SAGE Worksheet. My graph in SAGE Worksheet function differently than my model in Desmos. Luckily, I got Mr. Abell's help and found out why. Otherwise, I enjoy writing in LaTeX and look forward to future projects.249250\vspace{0.2cm}{\noindent{\textbf{Extension:}}} \par251252As a fun little extension, suppose that when the projectile hit the wall, the gravitational pull was inverted! The projectile would then float in the air. Just imagine the path after the bounce inverted in the x and y axes. Here is a graphic showing the path of this projectile:253254\begin{figure}[h]255\centering256\includegraphics[scale=0.4]{wall_gravity.pdf}257\end{figure}258259\end{document}260261