Carson Witt
\documentclass[landscape]{article}1\title{Parametric Projectile Project}2\author{Carson Witt}34\usepackage{amsmath}5\usepackage{graphicx}678%% ADDED PREAMBLE9\usepackage{todonotes}10\usepackage[displaymath, mathlines]{lineno}11\usepackage{hyperref}12\usepackage{pagecolor}13\usepackage{tabularx}1415\newcommand{\sg}[1]{\todo[color=red!40,fancyline]{#1}}16\newcommand{\good}[1]{\todo[color=blue!40,fancyline]{#1}}17\newcommand{\comm}[1]{\todo[color=orange!40,fancyline]{#1}}18%%192021\begin{document}2223%% ADDED FEEDBACK24\pagecolor{yellow!30!white}25\mbox{\LARGE Projectile Motion }\hfill Witt2627\vspace{1cm}2829\hrule3031\vspace{1cm}3233Grade: 1003435\vspace{1cm}3637\begin{tabularx}{15cm}{ |p{6cm} | p{8cm}|}38\hline39Part 1 Explanation &40I appreciate that you are using things like the \verb|textbf| command,41but try not to get too carried away with excessive formatting. Otherwise,42your explanation in part 1 was just fine. Be sure that you explain the43definition of new variables, such as $t_i$ and $t_f$ before you use them44in your report.45\\46\hline47Graph pt. 1 in figure env, caption, label, ref &48Looks good.49\\50\hline51Part 2 Explanation &52Again, I really like how you are using the itemize environment to provide53the list explanation of your process. Be careful about using a specific54example versus keeping it to general variables.55\\56\hline57Graph pt. 2 in figure env, caption, label, ref &58Looks good.59\\60\hline61$t$-values for both parametric equations before and after collision &62I think these are ok, although I might have prefered to see a more63explicit definition of when the ball hits the wall and when it hits th64ground.65\\66\hline67Extension &68Reversing the direction of gravitational force after impact with the wall.69An interesting extension, but I would have liked to see a little more in the70way of details -- both finding the parametric equation and plotting the71path.72\\73\hline74Proper formatting &75Looks good. You're getting quite experienced with different LaTeX commands,76which is fine. As your skills develop, you will want to focus on developing77more of a process to help you write clear documents.78\\79\hline80Spacing mistakes &81Looks good.82\\83\hline84\end{tabularx}8586\newpage8788\listoftodos[List of Comments]8990\newpage9192\maketitle9394\linenumbers95\pagecolor{white}96%%979899100\section*{Abstract}101102\textbf{The Problem} \par103A 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. \par104105\vspace{0.2cm}{\noindent{\textbf{Some Rules and Reminders}} \par106\begin{enumerate}107\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.108\item Depending on the values of $\theta$, $v_0$, and $d$, the projectile may fall short of the wall.109\item Assume that the wall is infinitely tall; the projectile will never clear the wall.110\item $\theta$ is measured in radians. $v_0$ is measured in meters per second. $d$ is measured in meters.111\end{enumerate}}112113\noindent{\textbf{Parametric Equations}} \par114Parametric 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 as115$$116P: \begin{cases}117x &= f(t) \\118y &= g(t)119\end{cases}120$$121where $f$ and $g$ are functions of $t$.122123\section*{Part One -- The Cannonball}124125\noindent{\textbf{Values Used}} \par126While 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 are127\begin{itemize}128\item $\theta = \pi/3$ radians129\item $v_0 = 25$ m/s130\item $d = 50$ meters131\end{itemize}132133\noindent{\textbf{Gravity}} \par134If 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 be135$$136P: \begin{cases}137x(t) &= (v_0 \cos \theta)t \\138y(t) &= (v_0 \sin \theta)t139\end{cases}140$$141While 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}:142143\begin{figure}[h]144\centering145\includegraphics[scale=0.6]{no_gravity_no_wall.pdf}146\caption{A projectile fired with $\theta = \pi/3$ and $v_0 = 25$ m/s. However, gravitational pull has not been taken into account.}147\label{nogravity}148\end{figure}149150Because 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 to151152\begin{center}153$P(t) =154\begin{cases}155x(t) = v_0 cos(\theta)t \\156y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0157\end{cases}$158\end{center}159160\begin{center}161$0\leq t \leq t_f$ without wall \\162$0\leq t \leq t_i$ with wall \\163\end{center}164165\begin{center}166or167\end{center}168169\begin{center}170$P(t) =171\begin{cases}172x(t) = 25 cos(\pi/3)t \\173y(t) = -4.9t^2 + 25 sin(\pi/3)t174\end{cases}$175\end{center}176177\begin{center}178$0\leq t \leq t_f$ without wall \\179$0\leq t \leq t_i$ with wall \\180\end{center}181182Where $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.} \par183184\vspace{0.2cm}{The parametric equation without a wall looks like Figure \ref{withgravity} when represented graphically:}185186\begin{figure}[h]187\centering188\includegraphics[scale=0.4]{with_gravity_no_wall.pdf}189\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$.}190\label{withgravity}191\end{figure}192193\vspace{0.2cm}{\noindent{\textbf{Solving for $t_i$}}} \par194195This 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, or196$$197t_i = d/v_0cos(\theta)198$$199After plugging in the values, you get $t_i = 50 / 25cos(\pi/3) = 4$. \par200201\vspace{0.1cm}{\noindent{\textbf{The projectile will hit the wall 4 seconds after launch.}}}202203We now have a successful model for projectile motion using parametric functions!204205\section*{Part Two - Bouncing Off a Wall}206207Now 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.208209\vspace{0.2cm}{\noindent{\textbf{The Equation:}}} \par210211\begin{center}212$P(t) =213\begin{cases}214x(t) = d-v_0 cos(-\theta)t \\215y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w216\end{cases}$217\end{center}218219\begin{center}220$0 \leq t \leq t_g$221\end{center}222223where $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.224225\vspace{0.2cm}{\noindent{\textbf{Explanation:}}} \par226\begin{itemize}227\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$.228\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.229\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$.230\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. \par231\end{itemize}232233\vspace{0.2cm}{\noindent{\textbf{Solving For Unknowns:}}} \par234235After plugging in my values for $\theta$, $v_0$, and $d$, you get this parametric equation:236237\begin{center}238$P(t) =239\begin{cases}240x(t) = -25 cos(-\pi/3)t + 50 \\241y(t) = -4.9t^2 -25 sin(-\pi/3)t + y_w242\end{cases}$243\end{center}244245\begin{center}246$0 \leq t \leq t_g$247\end{center}248249However, there are still two unknowns, $y_w$ , and $t_g$. \par250251\begin{itemize}252\item To solve for $y_w$, use the concept: $y_w = y(t_i)$. Expanding $y_w$ yields:253$$254y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))255$$256$$257y_w = -4.9(50/25cos(\pi/3))^2 + 25sin(\pi/3)(50/25cos(\pi/3))258$$259$$260y_w = 8.2261$$262\textbf{The projectile will hit the wall at a height of 8.2 meters above the ground.}263\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.264$$265-4.9t^2 -25sin(-\pi/3)t = 0266$$267$$268t = 0, 4.42269$$270$$271t = 4.42272$$273274\textbf{The projectile will hit the ground approximately 4.42 seconds after it bounces off the wall.} \par275\end{itemize}276277When graphed, the entire projectile launch looks like Figure \ref{withwall}:278279\begin{figure}[h]280\centering281\includegraphics[scale=0.6]{with_gravity_with_wall.pdf}282\caption{Entire projectile launch, where $\theta = \pi/3$, $v_0 = 25$, and $d = 50$.}283\label{withwall}284\end{figure}285286\section*{Conclusion}287288\vspace{-0.2cm}{\noindent{The final parametric equations when accounting for gravity are as follows:}}289290\vspace{0.2cm}{\textbf{\noindent{Before Impact:}}}291292\begin{center}293$P(t) =294\begin{cases}295x(t) = v_0 cos(\theta)t \\296y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0297\end{cases}$298\end{center}299300\begin{center}301$0\leq t \leq t_i$302\end{center}303304\vspace{0.2cm}{\textbf{\noindent{After Impact:}}}305306\begin{center}307$P(t) =308\begin{cases}309x(t) = d-v_0 cos(-\theta)t \\310y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w311\end{cases}$312\end{center}313314\begin{center}315$0 \leq t \leq t_g$316\end{center}317318\noindent{\textbf{Unknowns:}} \par319\begin{itemize}320\item $y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))$321\item $t_i = d/v_0cos(\theta)$322\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.323$$324-4.9t^2 -v_0sin(-\theta)t = 0325$$326\end{itemize}327328\noindent{\textbf{Values and Answers:}} \par329\begin{itemize}330\item $\theta = \pi/3$ radians.331\item $v_0 = 25$ m/s.332\item $d = 50$ m.333\item The projectile will hit the wall 4 seconds after launch.334\item The projectile will hit the wall at a height of 8.2 meters above the ground.335\item The projectile will hit the ground 4.42 seconds after it bounces off the wall.336\end{itemize}337338This 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.339340\vspace{0.2cm}{\noindent{\textbf{Extension:}}} \par341342As 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:343344\begin{figure}[h]345\centering346\includegraphics[scale=0.4]{wall_gravity.pdf}347\end{figure}348349\end{document}350351352