Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Carson Witt

2061 views
1
\documentclass[landscape]{article}
2
\title{Parametric Projectile Project}
3
\author{Carson Witt}
4
5
\usepackage{amsmath}
6
\usepackage{graphicx}
7
8
9
%% ADDED PREAMBLE
10
\usepackage{todonotes}
11
\usepackage[displaymath, mathlines]{lineno}
12
\usepackage{hyperref}
13
\usepackage{pagecolor}
14
\usepackage{tabularx}
15
16
\newcommand{\sg}[1]{\todo[color=red!40,fancyline]{#1}}
17
\newcommand{\good}[1]{\todo[color=blue!40,fancyline]{#1}}
18
\newcommand{\comm}[1]{\todo[color=orange!40,fancyline]{#1}}
19
%%
20
21
22
\begin{document}
23
24
%% ADDED FEEDBACK
25
\pagecolor{yellow!30!white}
26
\mbox{\LARGE Projectile Motion }\hfill Witt
27
28
\vspace{1cm}
29
30
\hrule
31
32
\vspace{1cm}
33
34
Grade: 100
35
36
\vspace{1cm}
37
38
\begin{tabularx}{15cm}{ |p{6cm} | p{8cm}|}
39
\hline
40
Part 1 Explanation &
41
I appreciate that you are using things like the \verb|textbf| command,
42
but try not to get too carried away with excessive formatting. Otherwise,
43
your explanation in part 1 was just fine. Be sure that you explain the
44
definition of new variables, such as $t_i$ and $t_f$ before you use them
45
in your report.
46
\\
47
\hline
48
Graph pt. 1 in figure env, caption, label, ref &
49
Looks good.
50
\\
51
\hline
52
Part 2 Explanation &
53
Again, I really like how you are using the itemize environment to provide
54
the list explanation of your process. Be careful about using a specific
55
example versus keeping it to general variables.
56
\\
57
\hline
58
Graph pt. 2 in figure env, caption, label, ref &
59
Looks good.
60
\\
61
\hline
62
$t$-values for both parametric equations before and after collision &
63
I think these are ok, although I might have prefered to see a more
64
explicit definition of when the ball hits the wall and when it hits th
65
ground.
66
\\
67
\hline
68
Extension &
69
Reversing the direction of gravitational force after impact with the wall.
70
An interesting extension, but I would have liked to see a little more in the
71
way of details -- both finding the parametric equation and plotting the
72
path.
73
\\
74
\hline
75
Proper formatting &
76
Looks good. You're getting quite experienced with different LaTeX commands,
77
which is fine. As your skills develop, you will want to focus on developing
78
more of a process to help you write clear documents.
79
\\
80
\hline
81
Spacing mistakes &
82
Looks good.
83
\\
84
\hline
85
\end{tabularx}
86
87
\newpage
88
89
\listoftodos[List of Comments]
90
91
\newpage
92
93
\maketitle
94
95
\linenumbers
96
\pagecolor{white}
97
%%
98
99
100
101
\section*{Abstract}
102
103
\textbf{The Problem} \par
104
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
105
106
\vspace{0.2cm}{\noindent{\textbf{Some Rules and Reminders}} \par
107
\begin{enumerate}
108
\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.
109
\item Depending on the values of $\theta$, $v_0$, and $d$, the projectile may fall short of the wall.
110
\item Assume that the wall is infinitely tall; the projectile will never clear the wall.
111
\item $\theta$ is measured in radians. $v_0$ is measured in meters per second. $d$ is measured in meters.
112
\end{enumerate}}
113
114
\noindent{\textbf{Parametric Equations}} \par
115
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
116
$$
117
P: \begin{cases}
118
x &= f(t) \\
119
y &= g(t)
120
\end{cases}
121
$$
122
where $f$ and $g$ are functions of $t$.
123
124
\section*{Part One -- The Cannonball}
125
126
\noindent{\textbf{Values Used}} \par
127
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
128
\begin{itemize}
129
\item $\theta = \pi/3$ radians
130
\item $v_0 = 25$ m/s
131
\item $d = 50$ meters
132
\end{itemize}
133
134
\noindent{\textbf{Gravity}} \par
135
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
136
$$
137
P: \begin{cases}
138
x(t) &= (v_0 \cos \theta)t \\
139
y(t) &= (v_0 \sin \theta)t
140
\end{cases}
141
$$
142
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}:
143
144
\begin{figure}[h]
145
\centering
146
\includegraphics[scale=0.6]{no_gravity_no_wall.pdf}
147
\caption{A projectile fired with $\theta = \pi/3$ and $v_0 = 25$ m/s. However, gravitational pull has not been taken into account.}
148
\label{nogravity}
149
\end{figure}
150
151
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
152
153
\begin{center}
154
$P(t) =
155
\begin{cases}
156
x(t) = v_0 cos(\theta)t \\
157
y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0
158
\end{cases}$
159
\end{center}
160
161
\begin{center}
162
$0\leq t \leq t_f$ without wall \\
163
$0\leq t \leq t_i$ with wall \\
164
\end{center}
165
166
\begin{center}
167
or
168
\end{center}
169
170
\begin{center}
171
$P(t) =
172
\begin{cases}
173
x(t) = 25 cos(\pi/3)t \\
174
y(t) = -4.9t^2 + 25 sin(\pi/3)t
175
\end{cases}$
176
\end{center}
177
178
\begin{center}
179
$0\leq t \leq t_f$ without wall \\
180
$0\leq t \leq t_i$ with wall \\
181
\end{center}
182
183
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
184
185
\vspace{0.2cm}{The parametric equation without a wall looks like Figure \ref{withgravity} when represented graphically:}
186
187
\begin{figure}[h]
188
\centering
189
\includegraphics[scale=0.4]{with_gravity_no_wall.pdf}
190
\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$.}
191
\label{withgravity}
192
\end{figure}
193
194
\vspace{0.2cm}{\noindent{\textbf{Solving for $t_i$}}} \par
195
196
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
197
$$
198
t_i = d/v_0cos(\theta)
199
$$
200
After plugging in the values, you get $t_i = 50 / 25cos(\pi/3) = 4$. \par
201
202
\vspace{0.1cm}{\noindent{\textbf{The projectile will hit the wall 4 seconds after launch.}}}
203
204
We now have a successful model for projectile motion using parametric functions!
205
206
\section*{Part Two - Bouncing Off a Wall}
207
208
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.
209
210
\vspace{0.2cm}{\noindent{\textbf{The Equation:}}} \par
211
212
\begin{center}
213
$P(t) =
214
\begin{cases}
215
x(t) = d-v_0 cos(-\theta)t \\
216
y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w
217
\end{cases}$
218
\end{center}
219
220
\begin{center}
221
$0 \leq t \leq t_g$
222
\end{center}
223
224
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.
225
226
\vspace{0.2cm}{\noindent{\textbf{Explanation:}}} \par
227
\begin{itemize}
228
\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$.
229
\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.
230
\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$.
231
\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
232
\end{itemize}
233
234
\vspace{0.2cm}{\noindent{\textbf{Solving For Unknowns:}}} \par
235
236
After plugging in my values for $\theta$, $v_0$, and $d$, you get this parametric equation:
237
238
\begin{center}
239
$P(t) =
240
\begin{cases}
241
x(t) = -25 cos(-\pi/3)t + 50 \\
242
y(t) = -4.9t^2 -25 sin(-\pi/3)t + y_w
243
\end{cases}$
244
\end{center}
245
246
\begin{center}
247
$0 \leq t \leq t_g$
248
\end{center}
249
250
However, there are still two unknowns, $y_w$ , and $t_g$. \par
251
252
\begin{itemize}
253
\item To solve for $y_w$, use the concept: $y_w = y(t_i)$. Expanding $y_w$ yields:
254
$$
255
y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))
256
$$
257
$$
258
y_w = -4.9(50/25cos(\pi/3))^2 + 25sin(\pi/3)(50/25cos(\pi/3))
259
$$
260
$$
261
y_w = 8.2
262
$$
263
\textbf{The projectile will hit the wall at a height of 8.2 meters above the ground.}
264
\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.
265
$$
266
-4.9t^2 -25sin(-\pi/3)t = 0
267
$$
268
$$
269
t = 0, 4.42
270
$$
271
$$
272
t = 4.42
273
$$
274
275
\textbf{The projectile will hit the ground approximately 4.42 seconds after it bounces off the wall.} \par
276
\end{itemize}
277
278
When graphed, the entire projectile launch looks like Figure \ref{withwall}:
279
280
\begin{figure}[h]
281
\centering
282
\includegraphics[scale=0.6]{with_gravity_with_wall.pdf}
283
\caption{Entire projectile launch, where $\theta = \pi/3$, $v_0 = 25$, and $d = 50$.}
284
\label{withwall}
285
\end{figure}
286
287
\section*{Conclusion}
288
289
\vspace{-0.2cm}{\noindent{The final parametric equations when accounting for gravity are as follows:}}
290
291
\vspace{0.2cm}{\textbf{\noindent{Before Impact:}}}
292
293
\begin{center}
294
$P(t) =
295
\begin{cases}
296
x(t) = v_0 cos(\theta)t \\
297
y(t) = -4.9t^2 + v_0 sin(\theta)t + y_0
298
\end{cases}$
299
\end{center}
300
301
\begin{center}
302
$0\leq t \leq t_i$
303
\end{center}
304
305
\vspace{0.2cm}{\textbf{\noindent{After Impact:}}}
306
307
\begin{center}
308
$P(t) =
309
\begin{cases}
310
x(t) = d-v_0 cos(-\theta)t \\
311
y(t) = -4.9t^2 - v_0 sin(-\theta)t + y_w
312
\end{cases}$
313
\end{center}
314
315
\begin{center}
316
$0 \leq t \leq t_g$
317
\end{center}
318
319
\noindent{\textbf{Unknowns:}} \par
320
\begin{itemize}
321
\item $y_w = -4.9(d/v_0cos(\theta))^2 + v_0sin(\theta)(d/v_0cos(\theta))$
322
\item $t_i = d/v_0cos(\theta)$
323
\item To solve for $t_g$, set up the y-parameter of the parametric equation where $y = 0$ and solve using the quadratic formula.
324
$$
325
-4.9t^2 -v_0sin(-\theta)t = 0
326
$$
327
\end{itemize}
328
329
\noindent{\textbf{Values and Answers:}} \par
330
\begin{itemize}
331
\item $\theta = \pi/3$ radians.
332
\item $v_0 = 25$ m/s.
333
\item $d = 50$ m.
334
\item The projectile will hit the wall 4 seconds after launch.
335
\item The projectile will hit the wall at a height of 8.2 meters above the ground.
336
\item The projectile will hit the ground 4.42 seconds after it bounces off the wall.
337
\end{itemize}
338
339
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.
340
341
\vspace{0.2cm}{\noindent{\textbf{Extension:}}} \par
342
343
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:
344
345
\begin{figure}[h]
346
\centering
347
\includegraphics[scale=0.4]{wall_gravity.pdf}
348
\end{figure}
349
350
\end{document}
351
352