Iterative Prediction: Difference between revisions

From Physics Book
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:


Claimed by Joshua Barua (jbarua3)
Editted by Joshua Barua (jbarua3)


By tconnors3
By tconnors3

Revision as of 02:43, 16 April 2016

Editted by Joshua Barua (jbarua3)

By tconnors3


An Overview

Iterative Prediction is a process used to approximate the effects of a force, be it constant or varying, on the motion of an object. This process does this approximation splitting the time interval up into many small intervals, finding the force on the object at each of the intervals, and then calculation the change of momentum and change of position for the object across each of the time intervals. Understanding Iterative Prediction also requires an understanding of the Momentum Principle, because you are constantly using the equation dp = F * deltat to update your momentum followed by your position.

Iterative Prediction is a necessary technique to employ when doing physics because, even though our fundamental principles are based on calculus and derivatives and you should be able to solve these problems using integrals, it is often impossible to solve the integrals required to solve complex problems. Iterative Prediction also becomes much more convenient when you implement it using a program, such as vPython, which allows you to make the approximation use as many steps as your processing power can handle, which can make your prediction much more accurate.


A Mathematical Model

By starting from the general equation for the Momentum Principle, a formula can derived to predict the momentum of a given system at a specified point in the future. This is often referred to as the momentum update form of the Momentum Principle:

[math]\displaystyle{ {{(1)}\frac{d\vec{p}}{dt}}_{system} = \vec{F}_{net} }[/math]
[math]\displaystyle{ {{(2)}\vec{p}_{f} - \vec{p}_{i} = \vec{F}_{net}{Δt}} }[/math]
[math]\displaystyle{ {{(3)}\vec{p}_{f} = \vec{p}_{i} + \vec{F}_{net}{Δt}} }[/math]

Equation [math]\displaystyle{ {(3)} }[/math] gives the momentum update form of the momentum principle. As it shows, the momentum of a system can be predicted if the time period of the interaction and the external net force on the system are known. Momentum can be iteratively predicted like such for uniform or non-uniform time periods. Additionally, with update of momentum, velocity and position can be updated similarly to better reflect the motion over time of the system:

Velocity Update Formula:

[math]\displaystyle{ {\vec{v}_{f} = \vec{v}_{i} + \frac{\vec{F}_{net}}{m}}{Δt} }[/math]

Position Update Formula:

[math]\displaystyle{ {\vec{r}_{f} = \vec{r}_{i} + \vec{v}_{avg}{Δt}} }[/math]

A Visual Model

As the momentum update formula suggests, the final momentum (shown here as [math]\displaystyle{ \vec{p}_{future} }[/math]) of a system after a given change in time should be the vector sum of the initial momentum (denoted [math]\displaystyle{ \vec{p}_{now} }[/math]) and the net force on the system multiplied by the scalar time change ([math]\displaystyle{ \vec{F}_{net}{Δt} }[/math]).

As the diagram suggests, each individual step can be analyzed through application of the momentum update form of the Momentum Principle. Once the final momentum is calculated, by utilizing the position and velocity update formula, the final velocity and position of the system can be determined at the end of the time interval of interest.

You can observe this Iterative Prediction in action by viewing this Vpython Script[1] (http://www.glowscript.org/#/user/JBarua/folder/Public/program/ProjectilePublic). It shows the flight path of a ball given an initial positive x and y velocity until it hits the ground, calculated using Iterative Prediction. In order to get a visual cue on how changing the time step of an Iterative Prediction calculation, try changing the deltat value from .15 to .05. You will see that making deltat smaller will place the approximation points closer together, which will give the ball's flight path a more consistent curve.

Example Calculations

There are a variety of different problems that can be solved by utilizing the momentum update form of the Momentum Principle. They can vary in difficulty and require any number of iterations. It is often prudent to calculate these iterations in a program loop to save time and avoid miscalculations.

Example #1 - Momentum Update

A boy standing on level ground throws a 2 kg ball into the air at an initial velocity of [math]\displaystyle{ {\lt 8,6,0\gt m/s} }[/math]. If the only force acting on the ball is gravity, what is the final momentum of the ball after 0.2 seconds?

This problem can be solved simply by solving for final momentum in the momentum update equation:

[math]\displaystyle{ {\vec{p}_{f} = {m}\vec{v} + \vec{F}_{grav}{Δt}} }[/math]
[math]\displaystyle{ {\vec{p}_{f} = \lt 16,12,0\gt + \lt 0,-3.92,0\gt } }[/math]
[math]\displaystyle{ {\vec{p}_{f} = \lt 16,8.08,0\gt } }[/math]

Example #2 - Trajectory Maxima

A 1 kg ball is kicked from location [math]\displaystyle{ {\lt 9,0,0\gt m} }[/math] giving it an initial velocity of [math]\displaystyle{ {\lt -10,13,0\gt m/s} }[/math]. What is the maximum height that the ball will reach along its trajectory?

This problem is a bit more complicated than the previous one. Before calculating the maximum height of the ball, we must know the time it takes for the ball to reach its maximum height by analyzing the motion of the ball in the +y direction through the momentum update equation:

[math]\displaystyle{ {t}_{f} = {v}_{i,y}{m}/{F}_{net,y} }[/math]
[math]\displaystyle{ {t}_{f} = \frac{(13)(1)}{(1)(9.8)} = 1.326 s }[/math]

Now that we know how long it takes for the ball to reach its maximum height, we can solve for the final height of the ball by utilizing the position update equation:

[math]\displaystyle{ {r}_{f,y} = {r}_{i,y} + {v}_{avg,y}{Δt} }[/math]
[math]\displaystyle{ {r}_{f,y} = 0 + \frac{13+0}{2}(1.326) = 8.64 m }[/math]

Example #3 - Varying Force

Model the motion of a spring with a ball attached to the end, taken into consideration of two forces, gravity (constant) and spring force (non-constant)

This is a good example of a problem that can most easily be solved using a computer program and knowledge of Iterative Prediction. In order to iteratively update the position of the ball and spring, three steps need to be taken inside of our while loop.

Step 1: Calculate net force Calculating the net force requires you first to calculate both the spring force vector and gravitational force vector based on the current position of the ball, then add them to get a net force vector.

Step 2: Apply Momentum Principle Now that we know our net force vector, we need to use the Momentum Principle to find the change in momentum when that force is applied for our time step.

Step 3: Update Position Finally, now that we know the change in momentum(and in turn the change in velocity), we can use our position update formula to update the position of both the ball and the axis of the spring. Don't forget to update your time!

Connectedness

Iterative Prediction serves as a basis for modeling complex motion throughout time. While some of the basic examples do not appear to be too trivial, iterative prediction can be used to solve more difficult problems. Having now almost completed a semester of mechanics, one topic that I became interested in almost right away was this idea of being able to solve problems in which we aren't necessarily concerned with the physics of the system at the current moment in time. Iterative Prediction of motion is just one of the many different techniques we have used to study the "physics of the future."

Iterative Prediction can have many applications to the field of Chemical Engineering, namely in the principles governing momentum transfer in chemical processes. A simple example is in studying fluid flow in a process. By making use of iterative prediction and the momentum principle, a chemical engineer can model the change in momentum of the fluid flow by analyzing the net force on the fluid (likely due to pressure) and the initial momentum of the fluid flow. In industry, this can be important so as to predict accumulation in a process and thus allow for modeling of an efficient process to maximize output.

History

The physics behind iterative prediction is nothing more than simple application of the momentum principle and projectile motion, which has existed in classical mechanics for quite some time. However, the practical application of iterative prediction for analyzing systems has evolved due to advances in computational methods and technology. With the computational power of a computer to iteratively calculate changes in momentum through time, one can analyze a system's motion extremely quickly without tedious and difficult mathematical calculations.

See also

There are many public resources that delve further into iterative prediction examples of more complex motion.

External links

Physics Portal

HyperPhysics Concept Map

MIT Open Courseware Introductory Mechanics

Iterative Prediction with VPython

References

Georgia Institute of Technology. Physics Department. PHYS 2211. Fall 2015. Wednesday, Week 2 Lecture Slides. Fenton, Flavio H

Georgia Institute of Technology. Physics Department. PHYS 2211. Fall 2015. Monday, Week 3 Lecture Slides. Fenton, Flavio H

Georgia Institute of Technology. Physics Department. PHYS 2211. Fall 2015. Lab 07 Fancart Energy & Spring-Mass Instructions, Greco, Edwin