t v a t area Dynamic Physics for Simulation and Game Programming F a m v v a t x x v t Discrete Dynamics

Similar documents
Dynamic Physics for Simulation and Game Programming

Forms of Energy. Mass = Energy. Page 1. SPH4U: Introduction to Work. Work & Energy. Particle Physics:

Motion. Part 2: Constant Acceleration. Acceleration. October Lab Physics. Ms. Levine 1. Acceleration. Acceleration. Units for Acceleration.

Chapter 2. Motion along a straight line. 9/9/2015 Physics 218

Homework 2 Solutions

Physics Worksheet Lesson 4: Linear Motion Section: Name:

Practice Problems - Week #4 Higher-Order DEs, Applications Solutions

Sph3u Practice Unit Test: Kinematics (Solutions) LoRusso

Chapter 10. Simple Harmonic Motion and Elasticity. Goals for Chapter 10

Average & instantaneous velocity and acceleration Motion with constant acceleration

P441 Analytical Mechanics - I. Coupled Oscillators. c Alex R. Dzierba

The solution is often represented as a vector: 2xI + 4X2 + 2X3 + 4X4 + 2X5 = 4 2xI + 4X2 + 3X3 + 3X4 + 3X5 = 4. 3xI + 6X2 + 6X3 + 3X4 + 6X5 = 6.

A 1.3 m 2.5 m 2.8 m. x = m m = 8400 m. y = 4900 m 3200 m = 1700 m

Version 001 test-1 swinney (57010) 1. is constant at m/s.

September 20 Homework Solutions

PHY2048 Exam 1 Formula Sheet Vectors. Motion. v ave (3 dim) ( (1 dim) dt. ( (3 dim) Equations of Motion (Constant Acceleration)

An object moving with speed v around a point at distance r, has an angular velocity. m/s m

PHYSICS 1210 Exam 1 University of Wyoming 14 February points

Physics 2A HW #3 Solutions

Physics 101 Lecture 4 Motion in 2D and 3D

Chapter Direct Method of Interpolation

Physics 131- Fundamentals of Physics for Biologists I

6. Gas dynamics. Ideal gases Speed of infinitesimal disturbances in still gas

Introduction to Numerical Analysis. In this lesson you will be taken through a pair of techniques that will be used to solve the equations of.

0 for t < 0 1 for t > 0

Lecture 23 Damped Motion

Motion in a Straight Line

Contraction Mapping Principle Approach to Differential Equations

Magnetostatics Bar Magnet. Magnetostatics Oersted s Experiment

x y θ = 31.8 = 48.0 N. a 3.00 m/s

ENGR 1990 Engineering Mathematics The Integral of a Function as a Function

2D Motion WS. A horizontally launched projectile s initial vertical velocity is zero. Solve the following problems with this information.

f t f a f x dx By Lin McMullin f x dx= f b f a. 2

(b) 10 yr. (b) 13 m. 1.6 m s, m s m s (c) 13.1 s. 32. (a) 20.0 s (b) No, the minimum distance to stop = 1.00 km. 1.

e t dt e t dt = lim e t dt T (1 e T ) = 1

5.1-The Initial-Value Problems For Ordinary Differential Equations

RESPONSE UNDER A GENERAL PERIODIC FORCE. When the external force F(t) is periodic with periodτ = 2π

NEWTON S SECOND LAW OF MOTION

() t. () t r () t or v. ( t) () () ( ) = ( ) or ( ) () () () t or dv () () Section 10.4 Motion in Space: Velocity and Acceleration

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

1. Consider a PSA initially at rest in the beginning of the left-hand end of a long ISS corridor. Assume xo = 0 on the left end of the ISS corridor.

A Kalman filtering simulation

[5] Solving Multiple Linear Equations A system of m linear equations and n unknown variables:

4.8 Improper Integrals

Thus the force is proportional but opposite to the displacement away from equilibrium.

Collision Detection and Bouncing

KINEMATICS IN ONE DIMENSION

Chapter 2: Evaluative Feedback

( ) ( ) ( ) ( u) ( u) = are shown in Figure =, it is reasonable to speculate that. = cos u ) and the inside function ( ( t) du

3 Motion with constant acceleration: Linear and projectile motion

graph of unit step function t

Physics 201, Lecture 5

Mathematical Modeling

φ p ( B) AR polynomial of B of order p, p Non-seasonal differencing operator = 1 B

INTEGRALS. Exercise 1. Let f : [a, b] R be bounded, and let P and Q be partitions of [a, b]. Prove that if P Q then U(P ) U(Q) and L(P ) L(Q).

The Lorentz Transformation

Linear Motion I Physics

Exponents and Powers

WEEK-3 Recitation PHYS 131. of the projectile s velocity remains constant throughout the motion, since the acceleration a x

Physics for Scientists & Engineers 2

Suggested Practice Problems (set #2) for the Physics Placement Test

MATH 124 AND 125 FINAL EXAM REVIEW PACKET (Revised spring 2008)

Physic 231 Lecture 4. Mi it ftd l t. Main points of today s lecture: Example: addition of velocities Trajectories of objects in 2 = =

CHAPTER 2: Describing Motion: Kinematics in One Dimension

Physics 100: Lecture 1

IB Physics Kinematics Worksheet

1.0 Electrical Systems

NONLINEAR MODEL OF THE VEHICLE HYDROPNEUMATIC SUSPENSION UNIT

Physics 101 Fall 2006: Exam #1- PROBLEM #1

Supporting information How to concatenate the local attractors of subnetworks in the HPFP

Q.1 Define work and its unit?

CHAPTER 2 KINEMATICS IN ONE DIMENSION ANSWERS TO FOCUS ON CONCEPTS QUESTIONS

Properties of Logarithms. Solving Exponential and Logarithmic Equations. Properties of Logarithms. Properties of Logarithms. ( x)

MOMENTUM CONSERVATION LAW

Some Basic Information about M-S-D Systems

MEI Mechanics 1 General motion. Section 1: Using calculus

Two Coupled Oscillators / Normal Modes

x(m) t(sec ) Homework #2. Ph 231 Introductory Physics, Sp-03 Page 1 of 4

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Physics 180A Fall 2008 Test points. Provide the best answer to the following questions and problems. Watch your sig figs.

The order of reaction is defined as the number of atoms or molecules whose concentration change during the chemical reaction.

ELEC-E8417 Switched-Mode Power Supplies Exam

Chapter 7: Solving Trig Equations

Chapter 2 The Derivative Applied Calculus 107. We ll need a rule for finding the derivative of a product so we don t have to multiply everything out.

4.5 Constant Acceleration

Today: Falling. v, a

How to Solve System Dynamic s Problems

e 2t u(t) e 2t u(t) =?

Of all of the intellectual hurdles which the human mind has confronted and has overcome in the last fifteen hundred years, the one which seems to me

LAB # 2 - Equilibrium (static)

Physics 101: Lecture 03 Kinematics Today s lecture will cover Textbook Sections (and some Ch. 4)

Some Inequalities variations on a common theme Lecture I, UL 2007

ET 438a Automatic Control Systems Technology. After this presentation you will be able to:

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

1 Widrow-Hoff Algorithm

Hall effect. Formulae :- 1) Hall coefficient RH = cm / Coulumb. 2) Magnetic induction BY 2

Problems on transformer main dimensions and windings

d = ½(v o + v f) t distance = ½ (initial velocity + final velocity) time

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

Math Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.

Transcription:

Dynic Physics for Siulion n Ge Progring F Discree Dynics. Force equls ss ies ccelerion (F=) v v v v Mike Biley This work is license uner Creive Coons Aribuion-NonCoercil- NoDerivives.0 Inernionl License jb@cs.oregonse.eu x v x v x x v Think Geek These cn be hough of s suing res uner curves physics-ynic.ppx Inegring he Physics Equions if Accelerion is Consn Wh if Accelerion is no Consn? v re v re

Wh is v(+δ)? 5 Wh is v(+δ)? 6 Accuule v so fr????? v Accelerion he sr of he ie sep The velociy is off by his uch! Accelerion he sr of he ie sep v v ( ) v () vv () Tie Sep Tie Sep v ( ) v ( ) vv ( ) This is close, bu is clerly no excly righ! The proble is h we re reing ll of he quniies s if hey lwys hve he vlue h hey h he sr of he Tie Sep, even hough hey on. This is known s Firs Orer soluion. Wh oes Firs Orer Soluion look like in Progr? 7 Wh oes Firs Orer Soluion look like in Progr? 8 You nee wy o hol he enire se of he syse. This will be he inpu o our nuericl inegror. You lso nee wy o reurn he erivives once you eerine he. sruc se flo ie; flo x; flo vx; ; x x v vx x sruc erivives flo vx; flo x; ; AvnceOneTieSep( ) GeDerivs( Se, Derivives ); // ge erivives Se.x = Se.x + Derivives.vx * Δ; // use erivives Se.vx = Se.vx + Derivives.x * Δ; // use erivives Se. = Se. + Δ ; sruc se Se; GeDerivs( Se, Derivives )... sruc erivives Derivives; The oupus re he erivives of he se vribles. The inpus re he se, which consiss of ll vribles necessry o copleely escribe he se of he physicl syse. The oupus re he erivives of ech se vrible. The pplicion, hen, consiss of: Iniilize( ); AvnceOneTieSep( ); Finish( );

Wh is v(+δ)? A Secon Orer soluion is obine by oing he Firs Orer soluion, eerining ll quniies ie hen verging he wih he quniies ie n hen reing he s consn hroughou he inervl. F() F( ) () ( ) v () () ( ) v vg. v ( ) v ( ) v 9 Wh oes Secon Orer Soluion look like in Progr? AvnceOneTieSep( ) GeDerivs( Se, Derivives); Se. = Se. + Δ; Se.x = Se.x + Derivives.vx * Δ; Se.vx = Se.vx + Derivives.x * Δ; GeDerivs( Se, Derivives ); flo vg = ( Derivives.x + Derivives.x) /.; flo vvg = ( Derivives.vx + Derivives.vx) /.; Se.x = Se.x + vvg * Δ; Se.vx = Se.vx + vg * Δ; Se. = Se. + Δ ; The pplicion, hen, consiss of: Iniilize( ); AvnceOneTieSep( ); Finish( ); 0 The Runge-Ku Fourh Orer Soluion v GeDerivs(, x, v) v GeDerivs(, x v, v ) v GeDerivs(, x v, v ) v GeDerivs(, x v, v ) x ( ) x v v v v ( ) v ( ) v 6 Ape fro: hp://en.wikipei.org/wiki/runge-ku The Runge-Ku Fourh Orer Soluion AvnceOneTieSep( ) GeDerivs( Se, Derivives ); Se. = Se. + Δ/.; Se.x = Se.x + Derivives.vx * (Δ/.); Se.vx = Se.vx + Derivives.x * (Δ/.); GeDerivs( Se, Derivives ); Se. = Se. + Δ/.; Se.x = Se.x + Derivives.vx * (Δ/); Se.vx = Se.vx + Derivives.x * (Δ/.); GeDerivs( Se, Derivives ); Se. = Se. + Δ; Se.x = Se.x + Derivives.vx * Δ; Se.vx = Se.vx + Derivives.x * Δ; GeDerivs( Se, Derivives ); Se.x = Se.x + (Δ/6.) * ( Derivives.vx +.*Derivives.vx +.*Derivives.vx + Derivives.vx ); Se.vx = Se.vx + (Δ/6.) * (Derivives.x +.*Derivives.x +.*Derivives.x + Derivives.x ); Ape fro: hp://en.wikipei.org/wiki/runge-ku

Solving Moion where here is Spring Air Resisnce Force Fspring ky This is known s Hooke s lw F v AC rg y Drg Coefficien +y, +F F W ky v GeDerivs( Se, Derivives ) Derivives.vy = Se.vy; Derivives.y = ( W K*Se.y ) / MASS; Mechnicl Scheic Sybol: Boy Flling Flui ensiy +y Y Velociy Cross-secionl re Air Resisnce lwys cs in irecion opposie o he velociy of he objec Weigh W Soe Drg Coefficiens 5 Solving Moion where here is Air Resisnce 6 C Ie. sooh brick 0.9 ypicl bicycle plus cyclis 0. rough sphere 0. sooh sphere 0.00 linr fl ple 0.005 urbulen fl ple 0.95 bulle.0-. person (uprigh posiion).8 fl ple perpeniculr o flow.0-. skier.0-. wires n cbles.-.5 Epire Se Builing.8-.0 Eiffel Tower F W Sign( vy) vyac v kg ir.9 The Sign( ) funcion reurns +. or -., epening on he sign of rguen GeDerivs( Se, Derivives ) Derivives.vy = Se.vy; Derivives.y = ( W.5*Sign(Se.vy)*DENSITY* Se.vy * Se.vy *AREA*DRAG ) / MASS; hp://en.wikipei.org/wiki/drg_coefficien

Terinl Velociy 7 Hun Terinl Velociy 8 W vyac v The velociy becoes consn when Δv = 0 : When boy is in free fll, i is being ccelere by he force of grviy. However, s i cceleres, i is encounering ore n ore ir resisnce force. A soe velociy, hese wo forces blnce ech oher ou n he velociy becoes consn, h is, Δv=0. This is known s he erinl velociy. Assue: Weigh = 00 pouns = 890 Newons C =.8 A = 6 f = 0.558 kg ir.9 W vyac v W AC 0 W v.90 98ph AC sec How bou Cliff Juper on Bungee Cor? 9 Coulob Dping 0 Boy Flling Fspring ky Frg Sign( vy ) vyc A F W kysign( vy) vyac v This is very uch like rg force, bu i is he resisnce of flui being squeeze hrough sll opening. The resising force is proporionl o he velociy: F cv Velociy Dping Coefficien W GeDerivs( Se, Derivives ) Derivives.vy = Se.vy; Derivives.y = ( W K*Se.y -.5*Sign(Se.vy)*DENSITY*Se.vy*Se.vy*AREA*DRAG ) / MASS; Hole Oil-fille cyliner Mechnicl Scheic Sybol: 5

Lif Anoher Goo Force o Know Abou Coefficien of Lif vs. Angle of Ack F lif v ACL Coefficien of Lif, for given ngle of ck Air ensiy Airspee Plfor re Angle of Ack hp://en.wikipei.org/wiki/lif_%8force%9 hp://en.wikipei.org/wiki/lif_coefficien Lif n Drg Driclly Working Togeher Fligh of Frisbee Fricion Force Anoher Goo Force o Know Abou Ffricion N Norl force (i.e., oun of force h is perpeniculr o he surfce) Coefficien of Fricion N N W 6

Soe Coefficiens of Fricion Merils Dry & clen Lubrice Aluinu Seel 0.6 Copper Seel 0.5 Brss Seel 0.5 Cs iron Copper.05 Cs iron Zinc 0.85 Concree (we) Rubber 0.0 Concree (ry) Rubber.0 Concree Woo 0.6 Copper Glss 0.68 Glss Glss 0.9 Mel Woo 0. 0.6 0. (we) Polyhene Seel 0. 0. Seel Seel 0.80 0.6 Seel Teflon 0.0 0.0 Teflon Teflon 0.0 0.0 Woo Woo 0.5 0.5 0. (we) μ hp://en.wikipei.org/wiki/fricion 5 Buoyncy Anoher Goo Force o Know Abou Archiees Principle sys h he buoyncy force on n objec in flui is he weigh of he flui h is being isplce by he objec. ir.66x0 pouns / in heliu 0.65x0 pouns / in So, for heliu blloon h is one foo in ieer (i.e., rius=6 inches), i hs is weigh pulling i own n buoyncy force pushing i up. The ne force pushing i up becuse of he gs insie he blloon is: Fbuoyncy Vblloonheliu Vblloonir Vblloon( heliu ir ) Vblloon r 90.78in 5 5 Densiies 5 Fbuoyncy 90.78 in (.0x0 pouns / in ) 0.06 pouns Noe h his us sill counerblnce he weigh of he blloon eril, or he blloon will no fly. 6 T I T I T I Spinning Moion: Dynics Moen of Ineri n ngulr ss (newon-eers-sec =kg-eers ) Torque n ngulr force (newon-eers) 7 Spinning Moion: Wh oes his look like in Progr? sruc se flo ; flo x; flo vx; flo he; flo oeg; ; sruc erivives flo vx; flo x; flo oeg; flo lph; ; The se n erivive vecors now inclue ngulr coponens GeDerivs( Se, Derivives ) Derivives.vx = Se.vx; Derivives.x = SoeOfAllForces / MASS; Derivives.oeg = Se.oeg; Derivives.lph = SoeOfAllTorques / INERTIA 8 7