The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it...
Transcript of The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it...
![Page 1: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/1.jpg)
IterationThe general way to solve force/momentum problems
Tuesday, 8 March 2011
![Page 2: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/2.jpg)
Course Reps
Tuesday, 8 March 2011
![Page 3: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/3.jpg)
Forces and Motion
• Before proceeding, we need to make sure we have a good understanding of forces and motion.
Tuesday, 8 March 2011
![Page 4: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/4.jpg)
1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily increasing downward force of gravity.
2. An almost constant downward force of gravity along with an upward force that steadily decreases until the ball reaches its highest point; on the way down there is only an almost constant downward force of gravity.
3. An almost constant downward force of gravity only.
Clicker QuestionA ball is thrown up into the air. Which of the following
is a correct description of the forces acting on it?
Tuesday, 8 March 2011
![Page 5: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/5.jpg)
Answer
• A constant downward force only.
• If you gave one of the other answers, you’re probably confusing momentum with force.
Tuesday, 8 March 2011
![Page 6: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/6.jpg)
Clicker Question• Which graph is an accurate one
for a ball thrown upwards into the air?
Tuesday, 8 March 2011
![Page 7: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/7.jpg)
The green line
• The velocity changes at a constant rate
Tuesday, 8 March 2011
![Page 8: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/8.jpg)
I throw a ball up into the air.
• Measure positive distance upwards.• Sketch graphs of:
– Position vs. time– Velocity vs. time– Acceleration vs. time
Tuesday, 8 March 2011
![Page 9: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/9.jpg)
Tuesday, 8 March 2011
![Page 10: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/10.jpg)
Tuesday, 8 March 2011
![Page 11: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/11.jpg)
Tuesday, 8 March 2011
![Page 12: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/12.jpg)
Each graph is the gradient of the previous one
Tuesday, 8 March 2011
![Page 13: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/13.jpg)
Slope is positive hereand negative here
Tuesday, 8 March 2011
![Page 14: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/14.jpg)
So the value is positive here
and negative here
And the slope is uniformly negative throughout
Tuesday, 8 March 2011
![Page 15: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/15.jpg)
So the value here is uniformly negative throughout
Tuesday, 8 March 2011
![Page 16: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/16.jpg)
You can also go backwards
• Integrate the curve to find the change in the next one
Tuesday, 8 March 2011
![Page 17: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/17.jpg)
Area between zero and given time gives you the change in
velocity up to this point.
Start with acceleration
Tuesday, 8 March 2011
![Page 18: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/18.jpg)
Area up to here is positive, so the object has moved a net positive distance
and negative here
And the slope is uniformly negative throughout
Tuesday, 8 March 2011
![Page 19: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/19.jpg)
But total area to here is zero, so it’s back where it started in position
+
-
Tuesday, 8 March 2011
![Page 20: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/20.jpg)
10!0! 1! 2! 3! 4! 5! 6! 7! 8! 9!
Time!
Acceleration!
What was I doing here?
Tuesday, 8 March 2011
![Page 21: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/21.jpg)
Walking into a wall...
• Start at rest, accelerate for a bit, walk at a constant speed, then abruptly decelerate when I hit the wall.
Tuesday, 8 March 2011
![Page 22: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/22.jpg)
What does real-world acceleration look like?
• I used the accelerometer on my iPhone to record my acceleration while driving one day (using the Accelgraph app).
Tuesday, 8 March 2011
![Page 23: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/23.jpg)
-0.15
-0.08
0
0.08
0.15
0.23
0.30
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
Acc
eler
atio
n (g
)
Time
What was I doing?
Tuesday, 8 March 2011
![Page 24: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/24.jpg)
-0.15
-0.08
0
0.08
0.15
0.23
0.30
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
Acc
eler
atio
n (g
)
Time
Sketch what graphs of velocity and position vs time would look like.
Tuesday, 8 March 2011
![Page 25: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/25.jpg)
0
1.7500
3.5000
5.2500
7.0000
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
Velo
city
m/s
Time
Tuesday, 8 March 2011
![Page 26: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/26.jpg)
0
20.0000
40.0000
60.0000
80.0000
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
Dis
tanc
e (m
)
Time
Tuesday, 8 March 2011
![Page 27: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/27.jpg)
Question 6a
• A cart of a roller-coaster rolls down the track shown below. As the cart rolls beyond the point shown, what happens to its speed and acceleration in the direction of motion?
1. Both decrease2. The speed decreases
but the acceleration increases
3. Both remain constant4. The speed increases,
but the acceleration decreases
5. Both increase6. Other
Tuesday, 8 March 2011
![Page 28: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/28.jpg)
Still going downhill
• So in the absence of friction it will always keep speeding up.
• But - the slope is getting gentler.• So the forward component of the
gravitational force is getting smaller.• So the acceleration is decreasing.
Tuesday, 8 March 2011
![Page 29: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/29.jpg)
And now
• Given some complicated varying force, how can we work out the position?
• The answer is “Iteration”
Tuesday, 8 March 2011
![Page 30: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/30.jpg)
Iteration
Solving problems step by tiny step…
Tuesday, 8 March 2011
![Page 31: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/31.jpg)
Iteration
• Iteration means the act of repeating a process usually with the aim of approaching a desired goal or target or result. Each repetition of the process is also called an "iteration", and the results of one iteration are used as the starting point for the next iteration.
Tuesday, 8 March 2011
![Page 32: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/32.jpg)
You can do some amazing things with
iteration…
Tuesday, 8 March 2011
![Page 33: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/33.jpg)
Tuesday, 8 March 2011
![Page 34: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/34.jpg)
Tuesday, 8 March 2011
![Page 35: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/35.jpg)
Movie taken from
• http://www.astro.ex.ac.uk/people/mbate/Cluster/cluster3d.html
34
Tuesday, 8 March 2011
![Page 36: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/36.jpg)
Tuesday, 8 March 2011
![Page 37: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/37.jpg)
Tuesday, 8 March 2011
![Page 38: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/38.jpg)
Tuesday, 8 March 2011
![Page 39: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/39.jpg)
Tuesday, 8 March 2011
![Page 40: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/40.jpg)
Tuesday, 8 March 2011
![Page 41: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/41.jpg)
Tuesday, 8 March 2011
![Page 42: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/42.jpg)
Tuesday, 8 March 2011
![Page 43: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/43.jpg)
Tuesday, 8 March 2011
![Page 44: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/44.jpg)
Basic idea
• Turn a big problem that we can’t solve into lots and lots of small problems that we can solve. In this case -
• The big problem - calculate how something moves under the influence of ever-changing forces.
• The small problem - calculate how the position and speed of an object changes over a very short time.
Tuesday, 8 March 2011
![Page 45: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/45.jpg)
What makes it possible
• Over a short time, you can use some sort of solvable approximation to the true motion of an object.
• If the time interval is short enough, even a crude approximation can be quite good enough.
Tuesday, 8 March 2011
![Page 46: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/46.jpg)
1. Start off with a known position and velocity.2. Use this position and velocity to work out
where you will be a short time later (pretending the velocity is not changing)
3. Use the force to work out the acceleration 4. Use the acceleration to work out what the
velocity will be a short time later (pretending the acceleration isn’t changing).
5. Back to 1.
Tuesday, 8 March 2011
![Page 47: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/47.jpg)
Distance update equation
• If your speed v is approximately constant, what is the equation for how far you go, Δx, in a time Δt?
1. Δx = x v2. Δx = x Δt3. Δx = v Δt 4. Δx = v/Δt5. Δx = Δt/v6. Δx = v - Δt7. Δx = Δt - v8. None of the above9. Not enough
information given.
Tuesday, 8 March 2011
![Page 48: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/48.jpg)
Velocity update change
• If your acceleration a is approximately constant, what is the equation for how much your speed will change, Δv, in a time Δt?
1. Δv = x v/Δt2. Δv = a Δt 3. Δv = a/Δt4. Δv = Δt/a5. Δv = a - Δt6. Δv = Δt - a7. None of the above8. Not enough
information given.
Tuesday, 8 March 2011
![Page 49: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/49.jpg)
You just use the definition of velocity and acceleration
• Velocity is how far you go in a given time. So if you have time Δt, you multiply this by the velocity to find out how far you’ve gone Δx.
• Acceleration is how much your speed increases in a given time. So if you have time Δt, you multiply this by the acceleration to find out how much your speed has increased Δv.
Tuesday, 8 March 2011
![Page 50: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/50.jpg)
This is our approximation
• We assume that the object moves at its initial speed throughout the short time interval.
• We assume that at the end of the interval its speed abruptly changes by the acceleration at the beginning of the time interval times the length of the time interval.
Tuesday, 8 March 2011
![Page 51: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/51.jpg)
This method assumes that the velocity and acceleration don’t
change much in a timestep.
• Is this valid?• Depends on the length of each time-
step - Δt
Tuesday, 8 March 2011
![Page 52: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/52.jpg)
One time step…
At time t• Position = x• Velocity = v
At time t+Δt• Position = x+Δx = x + v Δt• Velocity = v + Δv = v + a Δt
And we also need an equation for the force - for example, the following equation is for a weight on the end of a spring.
�
F = mg− kx
Tuesday, 8 March 2011
![Page 53: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/53.jpg)
Simplest possible…• This approximation (speed throughout time-
step equal to initial speed, speed at end of time-step equal to initial speed plus initial acceleration times time) is known as “Euler’s Method”.
• You can use more complicated approximations which have the benefit of being more accurate but take more computer time to evaluate - for example:
Tuesday, 8 March 2011
![Page 54: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/54.jpg)
Use constant acceleration formula…
• Instead of updating x with x + v Δt• Update it with x + v Δt + 1/2 a Δt2• Still not perfectly accurate (as
acceleration changes during a timestep) but probably better.
• But for the moment - let’s try Euler’s method (the simplest) and see where it gets us…
Tuesday, 8 March 2011
![Page 55: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/55.jpg)
Let’s try it.• Before you start the iteration, you
need to know:– The starting time, position and
velocity– An equation for the force
• Let’s do an example using a vertical spring-mass system
�
F = mg− kx Let’s have a mass of 0.1kg, k=5 N/m, and start at time 0, position x=0 and velocity v=0.
Tuesday, 8 March 2011
![Page 56: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/56.jpg)
Keep track of some variables
• Next step - decide which variables you need to keep track of.
• In this case, it will be:– Time t– Position x– Velocity v
• We will choose to have x increasing downwards, so a positive force is a downwards one
Tuesday, 8 March 2011
![Page 57: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/57.jpg)
Iteration Equations
• We need to write down the equations we will use in every time step, to update the variables we are tracking (t, x and v).
• These equations tell us what the value of each of these variables will be at the end of each time-step.
Tuesday, 8 March 2011
![Page 58: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/58.jpg)
• For time: t+Δt• For position: x+vΔt• For velocity: v+aΔt
– We get a from the force equation -
�
F = mg− kx = ma- So…
�
a = g − kmx
- Substituting this in, for velocity:
�
v + g − kmx
⎛ ⎝ ⎜
⎞ ⎠ ⎟ Δt
Tuesday, 8 March 2011
![Page 59: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/59.jpg)
�
v + g − kmx
⎛ ⎝ ⎜
⎞ ⎠ ⎟ Δt
So at each time-step, we replace
• Time t with t+Δt• Position x with x+vΔt• Velocity v with
These are our iteration equations.
Tuesday, 8 March 2011
![Page 60: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/60.jpg)
One last decision before we start
• We need to choose the time-step Δt.• If we choose it too large, the velocity and
acceleration will change too much during each time-step, making our calculation inaccurate.
• If we choose it too small, we will have to compute a vast number of time steps, which is slow.
• I’ll come back to how you make the choice - for the moment, let’s pick Δt = 0.1 seconds.
Tuesday, 8 March 2011
![Page 61: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/61.jpg)
Let’s go
• Start off with t=0, x=0, v=0• Apply our equations:
– New value of t is t + Δt = 0+0.1 = 0.1– New value of x is x + v Δt = 0+0×0.1 = 0– New value of v is
�
v + g − kmx
⎛ ⎝ ⎜
⎞ ⎠ ⎟ Δt = 0 + 9.8 − 5
0.10
⎛ ⎝ ⎜
⎞ ⎠ ⎟ × 0.1= 0.98
Tuesday, 8 March 2011
![Page 62: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/62.jpg)
So after 0.1 seconds…
• According to our method, the position hasn’t changed (still zero) but the velocity has increased to 0.98 m/s.
• Now do this again, using these new numbers as the starting parameters..
Tuesday, 8 March 2011
![Page 63: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/63.jpg)
Second iteration
• Start off with t=0.1, x=0, v=0.98• Apply our equations:
– New value of t is t + Δt = 0.1+0.1 = 0.2– New value of x is x + v Δt = 0+0.98×0.1 = 0.098– New value of v is
�
v + g − kmx
⎛ ⎝ ⎜
⎞ ⎠ ⎟ Δt = 0.98 + 9.8 − 5
0.10
⎛ ⎝ ⎜
⎞ ⎠ ⎟ × 0.1=1.96
Tuesday, 8 March 2011
![Page 64: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/64.jpg)
Third iteration
• Start off with t=0.2, x=0.098, v=1.96• Apply our equations:
– New value of t is t + Δt = 0.2+0.1 = 0.3– New value of x is x + v Δt = 0.098+1.96×0.1 =
0.294– New value of v is
�
v + g − kmx
⎛ ⎝ ⎜
⎞ ⎠ ⎟ Δt =1.96 + 9.8 − 5
0.10.098
⎛ ⎝ ⎜
⎞ ⎠ ⎟ × 0.1= 2.45
Tuesday, 8 March 2011
![Page 65: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/65.jpg)
Fourth iteration
• Start off with t=0.3, x=0.294, v=2.45• Apply our equations:
– New value of t is t + Δt = 0.3+0.1 = 0.4– New value of x is x + v Δt = 0.294+2.45×0.1 =
0.539– New value of v is
�
v + g − kmx
⎛ ⎝ ⎜
⎞ ⎠ ⎟ Δt = 2.45 + 9.8 − 5
0.10.294
⎛ ⎝ ⎜
⎞ ⎠ ⎟ × 0.1=1.96
Tuesday, 8 March 2011
![Page 66: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/66.jpg)
And so on…
• Do the calculations for each step, and then use the results as the input for the next step.
• That’s what iteration means!• What results do we get?
Tuesday, 8 March 2011
![Page 67: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/67.jpg)
Results for first few iterations (steps)
t x v0 0 0
0.1 0 0.980.2 0.098 1.960.3 0.294 2.450.4 0.539 1.96
0.5 0.735 0.245
Tuesday, 8 March 2011
![Page 68: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/68.jpg)
A graph of the first twenty interations…
Tuesday, 8 March 2011
![Page 69: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/69.jpg)
Good and bad
• If you remember - the correct solution is an oscillation.
• Our iteration has correctly produced an oscillation.
• But it has the amplitude steadily increasing - which is wrong.
• Springs don’t do that!
Tuesday, 8 March 2011
![Page 70: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/70.jpg)
Our time step was too big.
• The approximation (that the speed and velocity are approximately constant within each timestep) wasn’t good enough.
• If we make our timestep smaller… (say 0.01 sec)…
• We have to do a lot more steps…
Tuesday, 8 March 2011
![Page 71: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/71.jpg)
But it gets better…
Tuesday, 8 March 2011
![Page 72: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/72.jpg)
And if we make our time step smaller still - say 0.001 sec…
Tuesday, 8 March 2011
![Page 73: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/73.jpg)
Really rather good…
• But I needed to do 2000 steps (iterations) to get the last plot.
• Which would have been very tedious and error-prone had I not used a computer…
• Luckily we have computers and doing those 2000 steps took less than 0.1 sec…
Tuesday, 8 March 2011
![Page 74: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/74.jpg)
So even this crude approximation…
• It pretty good with small timesteps.• And with the speed of modern computers,
small timesteps are not much of a problem.• Using a better (more complicated)
approximation to the motion in each timestep will mean that you can get away with bigger timesteps.
• But each timestep needs more calculations to evaluate - so overall you may not be better off.
Tuesday, 8 March 2011
![Page 75: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/75.jpg)
But it’s painful
• So do it by computer!
• Example python program
Tuesday, 8 March 2011
![Page 76: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/76.jpg)
Let’s try an example
• A spaceship near a black hole…
x
Tuesday, 8 March 2011
![Page 77: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/77.jpg)
What forces apply?
• In this case there is only one - the gravitational force.
• Being in space there is no friction or drag, so…
x
�
F = GMmx 2 Where M is the mass
of the black hole and m the mass of the spaceship.
Tuesday, 8 March 2011
![Page 78: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/78.jpg)
What variables will we track?
• Time, position (x) and velocity (v) as before.
• For one-dimensional problems it will always be these.
• In 3D, you will need to track vector position and vector velocity (i.e the three components of each) so you will be tracking 7 numbers.
Tuesday, 8 March 2011
![Page 79: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/79.jpg)
Iteration equations
• For time: t + Δt (as before)• For position: x+ v Δt (as before)• But what about for velocity?
�
F = GMmx 2
Write it down…
What will the velocity be at the end of a time-step?
x increases away from the black hole. Velocity is (as always) rate of change of x.
Tuesday, 8 March 2011
![Page 80: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/80.jpg)
The answer…
• Gravity works to decrease the (outwards) velocity
�
v − GMx 2
Δt
Tuesday, 8 March 2011
![Page 81: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/81.jpg)
Let’s chose some values• Mass of the black hole = 1031 kg• Starting distance = 1,000,000 km• Starting speed = 2000 km/s away(You’ve been blasting away from it as
hard as you could - but now your fuel has run out… Is your speed great enough to escape?)
Tuesday, 8 March 2011
![Page 82: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/82.jpg)
Python simulation
Tuesday, 8 March 2011
![Page 83: The Three Great Principles of Mechanics · 1. A steadily decreasing upward force from the moment it leaves my hand until it reaches its highest point; on the way down there is a steadily](https://reader034.fdocuments.us/reader034/viewer/2022042020/5e77d3df1b524629a75bac1b/html5/thumbnails/83.jpg)
Summary
• Divide up your problem into little tiny steps.
• Write down an approximate set of equations for each step
• Plug numbers into these formulae over and over again - taking the output from one step as the input to the next.
Tuesday, 8 March 2011