

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Please prepare a solution to Problem 1 ONLY to hand in on Monday, August 27.
Problem 1 (K&K 1.13)
An elevator ascends from the ground with uniform speed. At time T 1 a boy drops a marble through a hole in the floor. The marble hits the the ground T 2 seconds later. Find the height of the elevator at time T 1. Why doesn’t the height depend on the speed of the elevator? (Hint: If T 1 = T 2 = 4 s, h = 39.2 m)
Suppose the elevator accelerates from rest with acceleration a = bt instead of ascending with uniform speed. Calculate h for T 1 = T 2 = 4 s (the answer does not depend on b ). Use Euler’s method (see p. 2) and the Mathematica notebook available on the web (Week 1) to calculate the speed and position of the elevator as a function of time for the first 10 s assuming b = 3 m/s^3. Complete all parts of the Mathematica notebook as indicated in the magenta text.
Problem 2 (K&K 1.21)
form of the solution.
Euler’s Method
Euler’s method is the simplest way to integrate differential equations such as
dt
dy
at dt
dv
=
=
For example, in the first equation, we write in the discrete form
Δt
Δv (^) =
or
and similarly for the y equation. The key assumption for Euler’s method is that a
better and better as the time interval shrinks. The method is very easy to implement in Mathematica (or in a spreadsheet program such as Excel).
The basic idea for the Mathematica calculation is to start by having in mind a set of times, say 0 – 10 s with a time interval of 0.1 s (i.e. 101 values 0, 0.1, 0.2,... ,
quantities. For each of these times, we will first calculate the acceleration according to the formula a = bt as given in the problem statement (with b = 3
equation dv(t)/dt = a(t). You should now be able to figure out how to solve the next differential equation dy(t)/dt = v(t). This method is quite general – there are, of course, more sophisticated implementations for solving differential equations, but it is surprising how often this simple algorithm will do what you need.