PHYS 105: Introduction to Computational Physics
Spring 2008
Homework #5
(Due: May 22, 2008)
- Do in-class exercise
7.1. Turn in your program (part 2) and three
plots (parts 4 and 5), and clearly state the results you
obtain in response to the other questions asked.
- Consider again a projectile moving in two dimensions under the
combined effects of gravity and air resistance. Initially the
projectile is launched from
with speed
m/s at an angle of
to the horizontal. The
components of its acceleration are
where
(chosen so that the initial acceleration
for this value of
is the same as the case
in problem 1).
- (a)
- Compute the projectile's range and time of flight
(take
, and don't forget to interpolate!),
and compare them to the results of the
calculation in problem 1. Plot both trajectories
(
and
) on the same graph.
- (b)
- At what angle to the horizontal
does the
projectile hit the ground in each case? What would
be in the absence of air resistance (i.e.
)?
- (c)
- By what factor (to within 1 percent) must the
launch speed be increased to restore the range to the
result?
- (d)
- By varying the value of
, determine the
maximum range of the projectile for
m/s. To what
value of
(to 1 decimal place) does this correspond?
- (e)
- For
m/s, plot
as a function
of
.
- Now suppose that the value of
in problem 2 varies with
height
, according to the law
where
= 500 m (not a very realistic description of
Earth's atmosphere!). How does the maximum range of the
projectile (as computed in problem 2d) change as a result? What
if
= 5 km (a much better approximation to reality)?
- Click here for a Postscript version of this document.
Steve McMillan
2008-05-12