Project 01 Ballistics
Project 01 Ballistics
Project 1: Ballistics
Objective
To illustrate an important application of differentiation to ballistics.
Narrative
If a projectile is fired vertically upward with an initial velocity of
v0 m/sec from an initial position s0 meters above the ground (see
the figure to the right), then (neglecting air resistance) after t sec
the projectile is
1
s = s(t) = − gt2 + v0 t + s0
2
2
meters above the ground, where g = 9.8 m/sec is acceleration due
to gravity, and the velocity of the projectile, after tseconds, is
Tasks
a) Type the command lines in the left-hand column below into Maple in the order in which they are listed.
# Project: Ballistics
> restart; Clear Maple’s memory.
Let g = 9.8, t0 = 0, s0 = 100, and v0 = 128.
> g := 9.8; t0 := 0; s0 := 100; v0 := 128;
(In this project we’ll be using metric units.)
1
> s := t -> -0.5*g*t2̂+v0*t+s0; Let the distance s(t) = − gt2 + v0 t + s0 .
2
Graph s(t) for t ∈ [t0 , 20]. Observe that after 20
> plot(s(t),t=t0..20); sec, the projectile is still in the air.
Let’s find when the projectile hits the ground.
Find when s(t) = 0. You should get two values:
one negative and one positive. The positive
> solve(s(t)=0,t);
value is the time at which the projectile hits the
ground.
Let t1 be the the positive value. (We’re
assuming here that the second value is positive;
> t1 :=%[2];
if it’s the first value that’s positive, type t1
:=%[1]; instead.)
> plot(s(t),t=t0..t1); Graph s(t) for t ∈ [t0 , t1 ].
> v := D(s); Let the velocity v(t) = Dt(s(t)).
Find the velocity of the projectile when it hits
> v(t1);
the ground.
Find the time tsmax at which the velocity of the
projectile is 0; tsmax is the time it takes the
> t_smax := solve(v(t)=0,t);
projectile to reach its maximum altitude
s(tsmax ).
2
At this point, make a hard-copy of your typed input and Maple’s responses. Then ...
b) Label by hand the coordinate axes in the second graphic you produced. (One should be a t-axis, and the other an
s-axis.) Plot and label the points (t, s(t)) for t = t0 , t = t1 , and t = tsmax in this graphic.
c) Label by hand the coordinate axes in the third graphic you produced. (One should be a t-axis, and the other a v-axis.)
Plot and label the points (t, v(t)) for t = t0 , t = t1 , and t = tsmax in this graphic.
Your lab report will be a hard copy of your typed input and Maple’s responses (both text and hand-labeled graphics).