Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Carson Witt

2061 views
1
\documentclass{article}
2
\title{Parametric Projectile Project}
3
\author{Carson Witt}
4
5
\usepackage{amsmath}
6
\usepackage{graphicx}
7
8
\begin{document}
9
\maketitle
10
11
\section*{Abstract}
12
13
\textbf{The Problem} \par
14
A 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. \par
15
16
\vspace{0.2cm}{\noindent{\textbf{Some Rules and Reminders}} \par
17
\begin{enumerate}
18
\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.
19
\item Depending on the values of $\theta$, $v_0$, and $d$, the projectile may fall short of the wall.
20
\item Assume that the wall is infinitely tall; the projectile will never clear the wall.
21
\item $\theta$ is measured in radians. $v_0$ is measured in meters per second. $d$ is measured in meters.
22
\end{enumerate}}
23
24
\noindent{\textbf{Parametric Equations}} \par
25
Parametric 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 as
26
$$
27
P: \begin{cases}
28
x &= f(t) \\
29
y &= g(t)
30
\end{cases}
31
$$
32
where $f$ and $g$ are functions of $t$.
33
34
\section*{Part One -- The Cannonball}
35
36
\noindent{\textbf{Values Used}} \par
37
While 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 are
38
\begin{itemize}
39
\item $\theta = \pi/3$ radians
40
\item $v_0 = 25$ m/s
41
\item $d = 50$ meters
42
\end{itemize}
43
44
\noindent{\textbf{Gravity}} \par
45
If 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 be
46
$$
47
P: \begin{cases}
48
x(t) &= (v_0 \cos \theta)t \\
49
y(t) &= (v_0 \sin \theta)t
50
\end{cases}
51
$$
52
While 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}:
53
54
\begin{figure}[h]
55
\centering
56
\includegraphics[scale=0.6]{no_gravity_no_wall.pdf}
57
\caption{A projectile fired with $\theta = \pi/3$ and $v_0 = 25$ m/s. However, gravitational pull has not been taken into account.}
58
\label{nogravity}
59
\end{figure}
60
61
Because 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 to
62
63
\begin{center}
64
$P(t) =
65
\begin{cases}
66
x(t) = v_0 cos(\theta)t \\
67
y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0
68
\end{cases}$
69
\end{center}
70
71
\begin{center}
72
$0\leq t \leq t_f$ without wall \\
73
$0\leq t \leq t_i$ with wall \\
74
\end{center}
75
76
\begin{center}
77
or
78
\end{center}
79
80
\begin{center}
81
$P(t) =
82
\begin{cases}
83
x(t) = 25 cos(\pi/3)t \\
84
y(t) = -4.9t^2 + 25 sin(\pi/3)t
85
\end{cases}$
86
\end{center}
87
88
\begin{center}
89
$0\leq t \leq t_f$ without wall \\
90
$0\leq t \leq t_i$ with wall \\
91
\end{center}
92
93
Where $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.} \par
94
95
\vspace{0.2cm}{The parametric equation without a wall looks like Figure \ref{withgravity} when represented graphically:}
96
97
\begin{figure}[h]
98
\centering
99
\includegraphics[scale=0.4]{with_gravity_no_wall.pdf}
100
\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$.}
101
\label{withgravity}
102
\end{figure}
103
104
\vspace{0.2cm}{\noindent{\textbf{Solving for $t_i$}}} \par
105
106
This 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, or
107
$$
108
t_i = d/v_0cos(\theta)
109
$$
110
After plugging in the values, you get $t_i = 50 / 25cos(\pi/3) = 4$. \par
111
112
\vspace{0.1cm}{\noindent{\textbf{The projectile will hit the wall 4 seconds after launch.}}}
113
114
We now have a successful model for projectile motion using parametric functions!
115
116
\section*{Part Two - Bouncing Off a Wall}
117
118
Now 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.
119
120
\vspace{0.2cm}{\noindent{\textbf{The Equation:}}} \par
121
122
\begin{center}
123
$P(t) =
124
\begin{cases}
125
x(t) = d-v_0 cos(-\theta)t \\
126
y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w
127
\end{cases}$
128
\end{center}
129
130
\begin{center}
131
$0 \leq t \leq t_g$
132
\end{center}
133
134
where $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.
135
136
\vspace{0.2cm}{\noindent{\textbf{Explanation:}}} \par
137
\begin{itemize}
138
\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$.
139
\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.
140
\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$.
141
\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. \par
142
\end{itemize}
143
144
\vspace{0.2cm}{\noindent{\textbf{Solving For Unknowns:}}} \par
145
146
After plugging in my values for $\theta$, $v_0$, and $d$, you get this parametric equation:
147
148
\begin{center}
149
$P(t) =
150
\begin{cases}
151
x(t) = -25 cos(-\pi/3)t + 50 \\
152
y(t) = -4.9t^2 -25 sin(-\pi/3)t + y_w
153
\end{cases}$
154
\end{center}
155
156
\begin{center}
157
$0 \leq t \leq t_g$
158
\end{center}
159
160
However, there are still two unknowns, $y_w$ , and $t_g$. \par
161
162
\begin{itemize}
163
\item To solve for $y_w$, use the concept: $y_w = y(t_i)$. Expanding $y_w$ yields:
164
$$
165
y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))
166
$$
167
$$
168
y_w = -4.9(50/25cos(\pi/3))^2 + 25sin(\pi/3)(50/25cos(\pi/3))
169
$$
170
$$
171
y_w = 8.2
172
$$
173
\textbf{The projectile will hit the wall at a height of 8.2 meters above the ground.}
174
\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.
175
$$
176
-4.9t^2 -25sin(-\pi/3)t = 0
177
$$
178
$$
179
t = 0, 4.42
180
$$
181
$$
182
t = 4.42
183
$$
184
185
\textbf{The projectile will hit the ground approximately 4.42 seconds after it bounces off the wall.} \par
186
\end{itemize}
187
188
When graphed, the entire projectile launch looks like Figure \ref{withwall}:
189
190
\begin{figure}[h]
191
\centering
192
\includegraphics[scale=0.6]{with_gravity_with_wall.pdf}
193
\caption{Entire projectile launch, where $\theta = \pi/3$, $v_0 = 25$, and $d = 50$.}
194
\label{withwall}
195
\end{figure}
196
197
\section*{Conclusion}
198
199
\vspace{-0.2cm}{\noindent{The final parametric equations when accounting for gravity are as follows:}}
200
201
\vspace{0.2cm}{\textbf{\noindent{Before Impact:}}}
202
203
\begin{center}
204
$P(t) =
205
\begin{cases}
206
x(t) = v_0 cos(\theta)t \\
207
y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0
208
\end{cases}$
209
\end{center}
210
211
\begin{center}
212
$0\leq t \leq t_i$
213
\end{center}
214
215
\vspace{0.2cm}{\textbf{\noindent{After Impact:}}}
216
217
\begin{center}
218
$P(t) =
219
\begin{cases}
220
x(t) = d-v_0 cos(-\theta)t \\
221
y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w
222
\end{cases}$
223
\end{center}
224
225
\begin{center}
226
$0 \leq t \leq t_g$
227
\end{center}
228
229
\noindent{\textbf{Unknowns:}} \par
230
\begin{itemize}
231
\item $y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))$
232
\item $t_i = d/v_0cos(\theta)$
233
\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.
234
$$
235
-4.9t^2 -v_0sin(-\theta)t = 0
236
$$
237
\end{itemize}
238
239
\noindent{\textbf{Values and Answers:}} \par
240
\begin{itemize}
241
\item $\theta = \pi/3$ radians.
242
\item $v_0 = 25$ m/s.
243
\item $d = 50$ m.
244
\item The projectile will hit the wall 4 seconds after launch.
245
\item The projectile will hit the wall at a height of 8.2 meters above the ground.
246
\item The projectile will hit the ground 4.42 seconds after it bounces off the wall.
247
\end{itemize}
248
249
This 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.
250
251
\vspace{0.2cm}{\noindent{\textbf{Extension:}}} \par
252
253
As 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:
254
255
\begin{figure}[h]
256
\centering
257
\includegraphics[scale=0.4]{wall_gravity.pdf}
258
\end{figure}
259
260
\end{document}
261