Numerical Integrator. Graphics

Size: px
Start display at page:

Download "Numerical Integrator. Graphics"

Transcription

1 1 Introuction CS229 Dynamics Hanout The question of the week is how owe write a ynamic simulator for particles, rigi boies, or an articulate character such as a human figure?" In their SIGGRPH course notes, Davi araff an nrew Witkin o an excellent job of aressing particle an rigi boy simulations. This hanout will supplement those notes by escribing how to set up a simulation of an articulate character. 2 System for Dynamic Simulation state, time Numerical Integrator Compute Derivatives state erivative new state Graphics Figure 1: lock iagram for a passive ynamic simulation. Figure 1 shows a block iagram for a ynamic simulation of a passive system. The user provies an initial state of the system as input, an numerical integrator churns away to fin the state of the system at future points in time. s the integrator works on the problem, it will perioically ask for erivatives of the state vector, given a state an a time. Occasionally, the state information is passe to a graphics subsystem so that the results can be isplaye. Let's look at each of these pieces in a little more etail. The numerical integrator, although it seems to take central place in the figure, will probably be the simplest element. For example, assume the state of our system is a one-imensional position an velocity [x; v]. We coul write a very basic numerical integrator as follows: ffl sk for erivatives given the start state [x 0 ;v 0 ] an time t 0. ffl Derivatives are returne. For example, if we have a particle in a gravitational fiel with acceleration g, the results will be [v 0 ;g]. Velocity v 0 is the erivative of position x 0 an acceleration g is the erivative ofvelocity v 0.

2 ffl ssume the erivatives are constant for the entire timestep an return [x 1 ;v 1 ] = [x 0 + v 0 t; v 0 + g t] as the next state. This is calle Euler integration, an it oes not work especially well. Runga-Kutta is not much more complex an prouces better results by requesting erivatives as several ifferent points within an integration timestep. Implicit integration is somewhat more computationally expensive, but can ramatically improve stability if you have a stiff system. Stiff systems can result from spring-mass simulations, from penalty metho computations use for collision response, or from characters with active control systems. (We'll iscuss control systems later on in class.) For more information, practically presente, see Numerical Recipes, Chapter 16 on Integration of Orinary Differential Equations. The graphics subsystem must take a state vector an isplay the correct character or object configuration on the screen. To make this work, the user must efine the geometry an renering style of the object an specify camera placement. The initial inputs to the system are an initial state vector an an integration timestep. character may begin an action from a neutral pose, with zero velocities, for example. The integration timestep is supplie to control the accuracy, stability, an spee of the simulation. That leaves the erivative computation. In most cases this is largely an exercise in computing forces an torques exerte on the system ue to interaction between boies or between boies an the environment. Forces an torques may come, for example, from: ffl Gravity ffl Collisions ffl rtificial force fiels esigne to steer objects in esire irections (e.g. away from collisions) ffl Drag (e.g. ue to velocity in flui) ffl Spring forces in a spring mass system The actual esign of forces an torques in your system is up to you as a esigner. Note that we are assuming that any of these forces can be compute base only on the current state of the system. To compute spring forces, for example, we only nee to know the current istances between particles. To compute rag forces, we only nee to know velocity information. 1 ssuming that an appropriate mechanism for computing forces an torques is in place, we are face with the problem of computing state erivatives base on these forces an torques.

3 θ x r x r y θ x Figure 2: Two rigi boies, connecte by a single rotational joint. 3 rticulate Mechanisms - n Example We will look at the very simple articulate mechanism shown in Figure 2. The mechanism is a pair of rectangular rigi boies that are free to translate an rotate in the plane. The boies are connecte by a single joint, an they can also rotate about that joint. Gravity acts in the ^y irection. In this section, we will go through computation of the state vector an erivatives for this system. 3.1 State Vector What state vector shoul we use for this example? If we follow araff's lea, we will have the following information for each of the two boies an. There are six total parameters for each boy, giving us a state vector of size 12: ffl Position (^x an ^y) ffl Linear momentum (in both ^x an ^y irections) ffl Orientation (about ^z) ffl ngular momentum (in the ^z irection) 1 It is not always the case that forces an torques can be compute base on state alone. One example is computation of actively controlle joint torques (think muscle forces) for an animate character. If a character is to walk across a room in a coorinate way, itmay nee to carry aroun more information than just the current state of the physical system at each point in time! ut, we'll get to that in a couple of weeks.

4 We can then write the state vector as: Y (t) =[x ; P ; ; L ; x ; P ; ( + ); L ] T (1) Let's look at each of the components of Y : ffl x is the position of the center of mass of boy in the ^x an ^y irections. ffl P is the linear momentum of boy. This is simply m _x, where m is the mass of boy an _x is the velocity ofboy. ffl is the orientation of boy. ffl L is the angular momentum of boy. This is just I _, where I is the inertia of boy in the ^z irection about its center of mass an _ is the angular velocity ofboy. I is a scalar. 2 ffl x is the position of the center of mass of boy in the ^x an ^y irections. ffl P is the linear momentum of boy. This is simply m _x, where m is the mass of boy an _x is the velocity ofboy. ffl ( + ) is the orientation of boy. ffl L is the angular momentum of boy. This is just I ( _ + _ ), where I is the inertia of boy in the ^z irection about its center of mass an ( _ + _ ) is the angular velocity of boy. Note that 's angular velocity epens on the sum of changes in angles an over time. This is a little confusing, but oes follow the kinematics iscussion in Watt an Watt. 3.2 State Vector Derivatives To compute the erivatives of the state vector, we nee to know all the forces an torques acting on each of the boies an. If the boies are passively falling, each is subject to gravitational forces, which we can easily calculate. There is also an unknown force, however, that acts to hol the boies together at the joint. We represent this force explicitly for both boies in the Free oy Diagram of Figure 3. We make use of Newton's thir law here: for every force there is an equal an opposite reaction force. Now we can represent erivatives using the two basic equations relating force to linear momentum an torque to angular momentum: f(t) = t P (2) fi(t) = t L (3) 2 fter all the iscussion in class about inertia tensors, why shoul I be a scalar? You can convince yourself that it is true by working out the inertia tensor for a rectangular boy an examining how it changes with orientation of that boy.

5 f j y r r x m g -f j m g Figure 3: Free boy iagram of the two rigi boies. Term by term: t x =_x = 1 P m (4) t P = m ẍ = f j m g^y (5) t = _ = 1 L I (6) t L = I = r f j () t x =_x = 1 P m (8) t P = m ẍ = f j m g^y (9) t ( + ) =( _ + _ ) = 1 L I (10) t L = I ( + ) = r ( f j ) (11) This is all wonerful, except for the fact that we have no iea about the value of f j on the various right han sies of the equations above Solving for ccelerations To compute the erivative of the state vector, we nee to either solve for constraint force f j or somehow eliminate it from the equations above. Our unknowns (expresse now as scalars) are: ẍ, ÿ,,ẍ,ÿ,, f j;x, f j;y.

6 From the above expressions of erivatives, we have six equations in these eight unknowns: m ẍ = f j;x (12) m ÿ = f j;y m g (13) I = (r f j ) ^z (14) m ẍ = f j;x (15) m ÿ = f j;y m g (16) I ( + ) = (r f j ) ^z (1) The value of r an r in these equation is (from Figure 3): r = [l cos( );l sin( )] T (18) r = [ l cos( + ); l sin( + )] T (19) n the final piece of information that we nee to solve the system is the connection between boies an. This equation is the only place where we are explicitly escribing the type of constraint between boies an : (20) x = x + r r (21) Substituting in for r an r in the constraint equation (Equation 21) an ifferentiating twice give us the following (try it!): ẍ =ẍ l cos( ) _ 2 l sin( ) l cos( + )( _ + _ ) 2 l sin( + )( + )(22) ÿ =ÿ l sin( ) _ 2 + l cos( ) l sin( + )( _ + _ ) 2 + l cos( + )( + )(23) Ok. Now we combine all of this information to expan equations 12 through 1 an eliminate the unknown f j;x an f j;y.we eliminate ẍ an ÿ while we're at it, since they can be calculate from Equations 22 an 23. This gives us a mess of equations that is best represente as a matrix equation: M(q) q + V (q; _q)+g(q) =0 (24) Here q is our vector of remaining, unknown accelerations: 2 3 ẍ q = 6 ÿ 4 5 (25)

7 M is a generalize mass matrix, which epens on the current state. Using S( ) for sin( ) an C( ) for cos( ) wehave the following: m + m 0 m l S( ) m l S( + ) m l S( + ) 0 m + m m l C( )+m l C( + ) m l C( + ) m l S( ) m l C( ) I 0 m l S( + ) m l C( + ) I I (26) Look at the iagonal terms. These shoul make sense. For example, (m + m )ẍ is total mass times acceleration in the ^x irection. In the absence of constraint forces, this woul be zero for a rigi boy in free-fall. ll of the aitional terms arise from the constraint at the connecting joint. lso notice that every non-zero term in the matrix M either represents a mass or an inertia. V (q; _q) isavelocity term reflecting centrifugal an coriolis forces. These seem very mysterious, but they pop up any time you have circular motion. They reflect the iea that a mass rotating at constant angular velocity about an axis actually has a linear acceleration, an the irection of that acceleration is along the vector from the mass to the axis of rotation. 2 3 V (q; _q) = 6 4 m l C( ) _ 2 m l C( + )( _ + _ ) 2 m l S( ) _ 2 m l S( + )( _ + _ ) n, finally, G(q) is a term reflecting forces ue to gravity: G(q) = (m + m )g m l C( )g m l C( + )g 3 5 (2) 5 (28) Now we can solve the system of equations above for the unknown accelerations, plug them into the expresstion for _ Y (t) in Equations 4 through 11, an return _ Y (t) to the numerical integrator to continue the simulation! ing pplie Forces The above erivation only allows us to calculate erivatives for a jointe boy in free fall. We also woul like tohave the ability to apply torque at the joint between boies (e.g. if there is a motor at that joint) an to apply external forces to the boies (e.g. collision forces). How can we a these extra forces an torques? The secret can be foun in the free boy iagrams. Simply a in the new forces, noting that torque applie to one boy at the joint will result in the opposite reaction torque on the secon boy (Figure 4). 3 5

8 f,e τ f j f,e r r,e y x r,e m g -f j r τ m g Figure 4: Free boy iagram with ae forces. Now the original Equations 12 through 1 can be written as: m ẍ = f j;x + f ;e;x (29) m ÿ = f j;y m g + f ;e;y (30) I = (r f j ) ^z + r ;e f ;e fi (31) m ẍ = f j;x + f ;e;x (32) m ÿ = f j;y m g + f ;e;y (33) I ( + ) = (r f j ) ^z + r ;e f ;e + fi (34) Propagating these aitional forces an torques through the erivation of the equations of motion gives us a new version of Equation 24: M(q) q + V (q; _q)+g(q) =F (q) (35) where M(q), V (q; _q), an G(q) are all as before! The new force term F (q) is: 2 f ;e;x + f ;e;x f ;e;y + f ;e;y F (q) = 6 4 r f ;e ^z + r ;e f ;e ^z fi r f ;e ^z + r ;e f ;e ^z + fi 3 5 (36) The first two terms in this matrix shoul seem intuitive if you think about how the applie forces an torques will affect linear acceleration. The secon two terms will probably not seem intuitive, because the last two equations in this system mix linear an angular accelerations.

9 4 Implementation Notes There are a couple of things that shoul be consiere when actually implementing a simulation such as that escribe in this hanout. The first is that the state vector Y (t) that we are using is reunant. We coul, for example, eliminate x an P, because these terms can be compute from other state parameters (e.g. see Equation 21). In fact it is probably an excellent iea to remove x an P from the state vector, because numerical errors coul otherwise give us inconsistent values for x. In other wors, the two boies coul appear to slowly rift apart. Secon, inverting a matrix every time we nee to compute erivatives is expensive, an these erivatives will have to be compute many many times uring the course of a particular simulation. On the other han, the equations of motion for a boy o not change uring the simulation. This means it is well worth the time to symbolically solve the system in Equation 24 to avoi oing matrix inversion. Thir, you might ask how o we a aitional egrees of freeom to the system?" n actual character has many more joints than the one iscusse here. Well, the basic principle remains the same. For every new joint ae to a tree, we will have new state parameters for the egrees of freeom at that joint. Specifically, there will be two new parameters: the joint angle for the new joint n, an the angular momentum of the new boy about the axis of rotation of that joint L n. These parameters are ae to state variable Y (t). free boy iagram rawn for the new boy can help you figure out how to compute the erivatives. cceleration of the new joint angle must be ae to the matrix equation 24 to solve for motion at the new joint. This technique oes get cumbersome very quickly, however, an it may be helpful to refer to some of the classic references on the topic Kane, T. R. an Levinson, D.., Dynamics: Theory an pplication, McGraw-Hill, New York, Featherstone, R., Robot Dynamics lgorithms, Kluwer caemic Publishing, 198.

Vectors in two dimensions

Vectors in two dimensions Vectors in two imensions Until now, we have been working in one imension only The main reason for this is to become familiar with the main physical ieas like Newton s secon law, without the aitional complication

More information

and from it produce the action integral whose variation we set to zero:

and from it produce the action integral whose variation we set to zero: Lagrange Multipliers Monay, 6 September 01 Sometimes it is convenient to use reunant coorinates, an to effect the variation of the action consistent with the constraints via the metho of Lagrange unetermine

More information

Tutorial Test 5 2D welding robot

Tutorial Test 5 2D welding robot Tutorial Test 5 D weling robot Phys 70: Planar rigi boy ynamics The problem statement is appene at the en of the reference solution. June 19, 015 Begin: 10:00 am En: 11:30 am Duration: 90 min Solution.

More information

G j dq i + G j. q i. = a jt. and

G j dq i + G j. q i. = a jt. and Lagrange Multipliers Wenesay, 8 September 011 Sometimes it is convenient to use reunant coorinates, an to effect the variation of the action consistent with the constraints via the metho of Lagrange unetermine

More information

Table of Common Derivatives By David Abraham

Table of Common Derivatives By David Abraham Prouct an Quotient Rules: Table of Common Derivatives By Davi Abraham [ f ( g( ] = [ f ( ] g( + f ( [ g( ] f ( = g( [ f ( ] g( g( f ( [ g( ] Trigonometric Functions: sin( = cos( cos( = sin( tan( = sec

More information

Implicit Differentiation

Implicit Differentiation Implicit Differentiation Thus far, the functions we have been concerne with have been efine explicitly. A function is efine explicitly if the output is given irectly in terms of the input. For instance,

More information

Lagrangian and Hamiltonian Mechanics

Lagrangian and Hamiltonian Mechanics Lagrangian an Hamiltonian Mechanics.G. Simpson, Ph.. epartment of Physical Sciences an Engineering Prince George s Community College ecember 5, 007 Introuction In this course we have been stuying classical

More information

Free rotation of a rigid body 1 D. E. Soper 2 University of Oregon Physics 611, Theoretical Mechanics 5 November 2012

Free rotation of a rigid body 1 D. E. Soper 2 University of Oregon Physics 611, Theoretical Mechanics 5 November 2012 Free rotation of a rigi boy 1 D. E. Soper 2 University of Oregon Physics 611, Theoretical Mechanics 5 November 2012 1 Introuction In this section, we escribe the motion of a rigi boy that is free to rotate

More information

Assignment 1. g i (x 1,..., x n ) dx i = 0. i=1

Assignment 1. g i (x 1,..., x n ) dx i = 0. i=1 Assignment 1 Golstein 1.4 The equations of motion for the rolling isk are special cases of general linear ifferential equations of constraint of the form g i (x 1,..., x n x i = 0. i=1 A constraint conition

More information

Chapter 2 Lagrangian Modeling

Chapter 2 Lagrangian Modeling Chapter 2 Lagrangian Moeling The basic laws of physics are use to moel every system whether it is electrical, mechanical, hyraulic, or any other energy omain. In mechanics, Newton s laws of motion provie

More information

Lecture 2 Lagrangian formulation of classical mechanics Mechanics

Lecture 2 Lagrangian formulation of classical mechanics Mechanics Lecture Lagrangian formulation of classical mechanics 70.00 Mechanics Principle of stationary action MATH-GA To specify a motion uniquely in classical mechanics, it suffices to give, at some time t 0,

More information

AN INTRODUCTION TO AIRCRAFT WING FLUTTER Revision A

AN INTRODUCTION TO AIRCRAFT WING FLUTTER Revision A AN INTRODUCTION TO AIRCRAFT WIN FLUTTER Revision A By Tom Irvine Email: tomirvine@aol.com January 8, 000 Introuction Certain aircraft wings have experience violent oscillations uring high spee flight.

More information

Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors

Math Notes on differentials, the Chain Rule, gradients, directional derivative, and normal vectors Math 18.02 Notes on ifferentials, the Chain Rule, graients, irectional erivative, an normal vectors Tangent plane an linear approximation We efine the partial erivatives of f( xy, ) as follows: f f( x+

More information

Schrödinger s equation.

Schrödinger s equation. Physics 342 Lecture 5 Schröinger s Equation Lecture 5 Physics 342 Quantum Mechanics I Wenesay, February 3r, 2010 Toay we iscuss Schröinger s equation an show that it supports the basic interpretation of

More information

The Principle of Least Action

The Principle of Least Action Chapter 7. The Principle of Least Action 7.1 Force Methos vs. Energy Methos We have so far stuie two istinct ways of analyzing physics problems: force methos, basically consisting of the application of

More information

A Second Time Dimension, Hidden in Plain Sight

A Second Time Dimension, Hidden in Plain Sight A Secon Time Dimension, Hien in Plain Sight Brett A Collins. In this paper I postulate the existence of a secon time imension, making five imensions, three space imensions an two time imensions. I will

More information

Diagonalization of Matrices Dr. E. Jacobs

Diagonalization of Matrices Dr. E. Jacobs Diagonalization of Matrices Dr. E. Jacobs One of the very interesting lessons in this course is how certain algebraic techniques can be use to solve ifferential equations. The purpose of these notes is

More information

Math 1B, lecture 8: Integration by parts

Math 1B, lecture 8: Integration by parts Math B, lecture 8: Integration by parts Nathan Pflueger 23 September 2 Introuction Integration by parts, similarly to integration by substitution, reverses a well-known technique of ifferentiation an explores

More information

Gyroscopic matrices of the right beams and the discs

Gyroscopic matrices of the right beams and the discs Titre : Matrice gyroscopique es poutres roites et es i[...] Date : 15/07/2014 Page : 1/16 Gyroscopic matrices of the right beams an the iscs Summary: This ocument presents the formulation of the matrices

More information

The derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x)

The derivative of a function f(x) is another function, defined in terms of a limiting expression: f(x + δx) f(x) Y. D. Chong (2016) MH2801: Complex Methos for the Sciences 1. Derivatives The erivative of a function f(x) is another function, efine in terms of a limiting expression: f (x) f (x) lim x δx 0 f(x + δx)

More information

Calculus of Variations

Calculus of Variations 16.323 Lecture 5 Calculus of Variations Calculus of Variations Most books cover this material well, but Kirk Chapter 4 oes a particularly nice job. x(t) x* x*+ αδx (1) x*- αδx (1) αδx (1) αδx (1) t f t

More information

Further Differentiation and Applications

Further Differentiation and Applications Avance Higher Notes (Unit ) Prerequisites: Inverse function property; prouct, quotient an chain rules; inflexion points. Maths Applications: Concavity; ifferentiability. Real-Worl Applications: Particle

More information

Angles-Only Orbit Determination Copyright 2006 Michel Santos Page 1

Angles-Only Orbit Determination Copyright 2006 Michel Santos Page 1 Angles-Only Orbit Determination Copyright 6 Michel Santos Page 1 Abstract This ocument presents a re-erivation of the Gauss an Laplace Angles-Only Methos for Initial Orbit Determination. It keeps close

More information

Interpolated Rigid-Body Motions and Robotics

Interpolated Rigid-Body Motions and Robotics Interpolate Rigi-Boy Motions an Robotics J.M. Selig Faculty of Business, Computing an Info. Management. Lonon South Bank University, Lonon SE AA, U.K. seligjm@lsbu.ac.uk Yaunquing Wu Dept. Mechanical Engineering.

More information

Optimization of a point-mass walking model using direct collocation and sequential quadratic programming

Optimization of a point-mass walking model using direct collocation and sequential quadratic programming Optimization of a point-mass walking moel using irect collocation an sequential quaratic programming Chris Dembia June 5, 5 Telescoping actuator y Stance leg Point-mass boy m (x,y) Swing leg x Leg uring

More information

Physics 2112 Unit 5: Electric Potential Energy

Physics 2112 Unit 5: Electric Potential Energy Physics 11 Unit 5: Electric Potential Energy Toay s Concept: Electric Potential Energy Unit 5, Slie 1 Stuff you aske about: I on't like this return to mechanics an the potential energy concept, but this

More information

Physics 115C Homework 4

Physics 115C Homework 4 Physics 115C Homework 4 Problem 1 a In the Heisenberg picture, the ynamical equation is the Heisenberg equation of motion: for any operator Q H, we have Q H = 1 t i [Q H,H]+ Q H t where the partial erivative

More information

The Exact Form and General Integrating Factors

The Exact Form and General Integrating Factors 7 The Exact Form an General Integrating Factors In the previous chapters, we ve seen how separable an linear ifferential equations can be solve using methos for converting them to forms that can be easily

More information

Examining Geometric Integration for Propagating Orbit Trajectories with Non-Conservative Forcing

Examining Geometric Integration for Propagating Orbit Trajectories with Non-Conservative Forcing Examining Geometric Integration for Propagating Orbit Trajectories with Non-Conservative Forcing Course Project for CDS 05 - Geometric Mechanics John M. Carson III California Institute of Technology June

More information

Separation of Variables

Separation of Variables Physics 342 Lecture 1 Separation of Variables Lecture 1 Physics 342 Quantum Mechanics I Monay, January 25th, 2010 There are three basic mathematical tools we nee, an then we can begin working on the physical

More information

1 Heisenberg Representation

1 Heisenberg Representation 1 Heisenberg Representation What we have been ealing with so far is calle the Schröinger representation. In this representation, operators are constants an all the time epenence is carrie by the states.

More information

Electricity & Magnetism Lecture 5: Electric Potential Energy

Electricity & Magnetism Lecture 5: Electric Potential Energy Electricity & Magnetism Lecture 5: Electric Potential Energy Toay... Ø Ø Electric Poten1al Energy Unit 21 session Gravita1onal an Electrical PE Electricity & Magne/sm Lecture 5, Slie 1 Stuff you aske about:

More information

Experiment I Electric Force

Experiment I Electric Force Experiment I Electric Force Twenty-five hunre years ago, the Greek philosopher Thales foun that amber, the harene sap from a tree, attracte light objects when rubbe. Only twenty-four hunre years later,

More information

Calculus in the AP Physics C Course The Derivative

Calculus in the AP Physics C Course The Derivative Limits an Derivatives Calculus in the AP Physics C Course The Derivative In physics, the ieas of the rate change of a quantity (along with the slope of a tangent line) an the area uner a curve are essential.

More information

ensembles When working with density operators, we can use this connection to define a generalized Bloch vector: v x Tr x, v y Tr y

ensembles When working with density operators, we can use this connection to define a generalized Bloch vector: v x Tr x, v y Tr y Ph195a lecture notes, 1/3/01 Density operators for spin- 1 ensembles So far in our iscussion of spin- 1 systems, we have restricte our attention to the case of pure states an Hamiltonian evolution. Toay

More information

ector ition 1. Scalar: physical quantity having only magnitue but no irection is calle a scalar. eg: Time, mass, istance, spee, electric charge, etc.. ector: physical quantity having both magnitue an irection

More information

The Ehrenfest Theorems

The Ehrenfest Theorems The Ehrenfest Theorems Robert Gilmore Classical Preliminaries A classical system with n egrees of freeom is escribe by n secon orer orinary ifferential equations on the configuration space (n inepenent

More information

Linear First-Order Equations

Linear First-Order Equations 5 Linear First-Orer Equations Linear first-orer ifferential equations make up another important class of ifferential equations that commonly arise in applications an are relatively easy to solve (in theory)

More information

Calculus I Practice Test Problems for Chapter 3 Page 1 of 9

Calculus I Practice Test Problems for Chapter 3 Page 1 of 9 Calculus I Practice Test Problems for Chapter 3 Page of 9 This is a set of practice test problems for Chapter 3. This is in no wa an inclusive set of problems there can be other tpes of problems on the

More information

Center of Gravity and Center of Mass

Center of Gravity and Center of Mass Center of Gravity an Center of Mass 1 Introuction. Center of mass an center of gravity closely parallel each other: they both work the same way. Center of mass is the more important, but center of gravity

More information

The continuity equation

The continuity equation Chapter 6 The continuity equation 61 The equation of continuity It is evient that in a certain region of space the matter entering it must be equal to the matter leaving it Let us consier an infinitesimal

More information

Static Equilibrium. Theory: The conditions for the mechanical equilibrium of a rigid body are (a) (b)

Static Equilibrium. Theory: The conditions for the mechanical equilibrium of a rigid body are (a) (b) LPC Physics A 00 Las Positas College, Physics Department Staff Purpose: To etermine that, for a boy in equilibrium, the following are true: The sum of the torques about any point is zero The sum of forces

More information

The Principle of Least Action and Designing Fiber Optics

The Principle of Least Action and Designing Fiber Optics University of Southampton Department of Physics & Astronomy Year 2 Theory Labs The Principle of Least Action an Designing Fiber Optics 1 Purpose of this Moule We will be intereste in esigning fiber optic

More information

ARCH 614 Note Set 5 S2012abn. Moments & Supports

ARCH 614 Note Set 5 S2012abn. Moments & Supports RCH 614 Note Set 5 S2012abn Moments & Supports Notation: = perpenicular istance to a force from a point = name for force vectors or magnitue of a force, as is P, Q, R x = force component in the x irection

More information

Optimal Variable-Structure Control Tracking of Spacecraft Maneuvers

Optimal Variable-Structure Control Tracking of Spacecraft Maneuvers Optimal Variable-Structure Control racking of Spacecraft Maneuvers John L. Crassiis 1 Srinivas R. Vaali F. Lanis Markley 3 Introuction In recent years, much effort has been evote to the close-loop esign

More information

The total derivative. Chapter Lagrangian and Eulerian approaches

The total derivative. Chapter Lagrangian and Eulerian approaches Chapter 5 The total erivative 51 Lagrangian an Eulerian approaches The representation of a flui through scalar or vector fiels means that each physical quantity uner consieration is escribe as a function

More information

APPROXIMATE SOLUTION FOR TRANSIENT HEAT TRANSFER IN STATIC TURBULENT HE II. B. Baudouy. CEA/Saclay, DSM/DAPNIA/STCM Gif-sur-Yvette Cedex, France

APPROXIMATE SOLUTION FOR TRANSIENT HEAT TRANSFER IN STATIC TURBULENT HE II. B. Baudouy. CEA/Saclay, DSM/DAPNIA/STCM Gif-sur-Yvette Cedex, France APPROXIMAE SOLUION FOR RANSIEN HEA RANSFER IN SAIC URBULEN HE II B. Bauouy CEA/Saclay, DSM/DAPNIA/SCM 91191 Gif-sur-Yvette Ceex, France ABSRAC Analytical solution in one imension of the heat iffusion equation

More information

UNDERSTANDING INTEGRATION

UNDERSTANDING INTEGRATION UNDERSTANDING INTEGRATION Dear Reaer The concept of Integration, mathematically speaking, is the "Inverse" of the concept of result, the integration of, woul give us back the function f(). This, in a way,

More information

ELECTRON DIFFRACTION

ELECTRON DIFFRACTION ELECTRON DIFFRACTION Electrons : wave or quanta? Measurement of wavelength an momentum of electrons. Introuction Electrons isplay both wave an particle properties. What is the relationship between the

More information

Lagrangian and Hamiltonian Dynamics

Lagrangian and Hamiltonian Dynamics Lagrangian an Hamiltonian Dynamics Volker Perlick (Lancaster University) Lecture 1 The Passage from Newtonian to Lagrangian Dynamics (Cockcroft Institute, 22 February 2010) Subjects covere Lecture 2: Discussion

More information

inflow outflow Part I. Regular tasks for MAE598/494 Task 1

inflow outflow Part I. Regular tasks for MAE598/494 Task 1 MAE 494/598, Fall 2016 Project #1 (Regular tasks = 20 points) Har copy of report is ue at the start of class on the ue ate. The rules on collaboration will be release separately. Please always follow the

More information

Optimization of Geometries by Energy Minimization

Optimization of Geometries by Energy Minimization Optimization of Geometries by Energy Minimization by Tracy P. Hamilton Department of Chemistry University of Alabama at Birmingham Birmingham, AL 3594-140 hamilton@uab.eu Copyright Tracy P. Hamilton, 1997.

More information

Construction of the Electronic Radial Wave Functions and Probability Distributions of Hydrogen-like Systems

Construction of the Electronic Radial Wave Functions and Probability Distributions of Hydrogen-like Systems Construction of the Electronic Raial Wave Functions an Probability Distributions of Hyrogen-like Systems Thomas S. Kuntzleman, Department of Chemistry Spring Arbor University, Spring Arbor MI 498 tkuntzle@arbor.eu

More information

4. Important theorems in quantum mechanics

4. Important theorems in quantum mechanics TFY4215 Kjemisk fysikk og kvantemekanikk - Tillegg 4 1 TILLEGG 4 4. Important theorems in quantum mechanics Before attacking three-imensional potentials in the next chapter, we shall in chapter 4 of this

More information

Total Energy Shaping of a Class of Underactuated Port-Hamiltonian Systems using a New Set of Closed-Loop Potential Shape Variables*

Total Energy Shaping of a Class of Underactuated Port-Hamiltonian Systems using a New Set of Closed-Loop Potential Shape Variables* 51st IEEE Conference on Decision an Control December 1-13 212. Maui Hawaii USA Total Energy Shaping of a Class of Uneractuate Port-Hamiltonian Systems using a New Set of Close-Loop Potential Shape Variables*

More information

New Zealand Institute of Physics

New Zealand Institute of Physics New Zealan Institute of Physics ASSESSMENT SCHEDULE Physics Level 2 90258 v2 Demonstrate unerstaning of physics in an integrate context Note: Minor computational errors will not be penalise. A wrong answer

More information

Chapter 6: Energy-Momentum Tensors

Chapter 6: Energy-Momentum Tensors 49 Chapter 6: Energy-Momentum Tensors This chapter outlines the general theory of energy an momentum conservation in terms of energy-momentum tensors, then applies these ieas to the case of Bohm's moel.

More information

Math 342 Partial Differential Equations «Viktor Grigoryan

Math 342 Partial Differential Equations «Viktor Grigoryan Math 342 Partial Differential Equations «Viktor Grigoryan 6 Wave equation: solution In this lecture we will solve the wave equation on the entire real line x R. This correspons to a string of infinite

More information

Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS

Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS Calculus BC Section II PART A A GRAPHING CALCULATOR IS REQUIRED FOR SOME PROBLEMS OR PARTS OF PROBLEMS. An isosceles triangle, whose base is the interval from (0, 0) to (c, 0), has its verte on the graph

More information

arxiv: v2 [math.ds] 26 Apr 2017

arxiv: v2 [math.ds] 26 Apr 2017 GAUSSIAN CURVATURE AND GYROSCOPES GRAHAM COX AND MARK LEVI arxiv:1607.03217v2 [math.ds] 26 Apr 2017 Abstract. We relate Gaussian curvature to the gyroscopic force, thus giving a mechanical interpretation

More information

ACCELERATION, FORCE, MOMENTUM, ENERGY : solutions to higher level questions

ACCELERATION, FORCE, MOMENTUM, ENERGY : solutions to higher level questions ACCELERATION, FORCE, MOMENTUM, ENERGY : solutions to higher level questions 015 Question 1 (a) (i) State Newton s secon law of motion. Force is proportional to rate of change of momentum (ii) What is the

More information

Lecture 16: The chain rule

Lecture 16: The chain rule Lecture 6: The chain rule Nathan Pflueger 6 October 03 Introuction Toay we will a one more rule to our toolbo. This rule concerns functions that are epresse as compositions of functions. The iea of a composition

More information

Chapter 2 Derivatives

Chapter 2 Derivatives Chapter Derivatives Section. An Intuitive Introuction to Derivatives Consier a function: Slope function: Derivative, f ' For each, the slope of f is the height of f ' Where f has a horizontal tangent line,

More information

Introduction to variational calculus: Lecture notes 1

Introduction to variational calculus: Lecture notes 1 October 10, 2006 Introuction to variational calculus: Lecture notes 1 Ewin Langmann Mathematical Physics, KTH Physics, AlbaNova, SE-106 91 Stockholm, Sween Abstract I give an informal summary of variational

More information

Prep 1. Oregon State University PH 213 Spring Term Suggested finish date: Monday, April 9

Prep 1. Oregon State University PH 213 Spring Term Suggested finish date: Monday, April 9 Oregon State University PH 213 Spring Term 2018 Prep 1 Suggeste finish ate: Monay, April 9 The formats (type, length, scope) of these Prep problems have been purposely create to closely parallel those

More information

MATH2231-Differentiation (2)

MATH2231-Differentiation (2) -Differentiation () The Beginnings of Calculus The prime occasion from which arose my iscovery of the metho of the Characteristic Triangle, an other things of the same sort, happene at a time when I ha

More information

TMA 4195 Matematisk modellering Exam Tuesday December 16, :00 13:00 Problems and solution with additional comments

TMA 4195 Matematisk modellering Exam Tuesday December 16, :00 13:00 Problems and solution with additional comments Problem F U L W D g m 3 2 s 2 0 0 0 0 2 kg 0 0 0 0 0 0 Table : Dimension matrix TMA 495 Matematisk moellering Exam Tuesay December 6, 2008 09:00 3:00 Problems an solution with aitional comments The necessary

More information

23 Implicit differentiation

23 Implicit differentiation 23 Implicit ifferentiation 23.1 Statement The equation y = x 2 + 3x + 1 expresses a relationship between the quantities x an y. If a value of x is given, then a corresponing value of y is etermine. For

More information

Related Rates. Introduction. We are familiar with a variety of mathematical or quantitative relationships, especially geometric ones.

Related Rates. Introduction. We are familiar with a variety of mathematical or quantitative relationships, especially geometric ones. Relate Rates Introuction We are familiar with a variety of mathematical or quantitative relationships, especially geometric ones For example, for the sies of a right triangle we have a 2 + b 2 = c 2 or

More information

Switching Time Optimization in Discretized Hybrid Dynamical Systems

Switching Time Optimization in Discretized Hybrid Dynamical Systems Switching Time Optimization in Discretize Hybri Dynamical Systems Kathrin Flaßkamp, To Murphey, an Sina Ober-Blöbaum Abstract Switching time optimization (STO) arises in systems that have a finite set

More information

Cable holds system BUT at t=0 it breaks!! θ=20. Copyright Luis San Andrés (2010) 1

Cable holds system BUT at t=0 it breaks!! θ=20. Copyright Luis San Andrés (2010) 1 EAMPLE # for MEEN 363 SPRING 6 Objectives: a) To erive EOMS of a DOF system b) To unerstan concept of static equilibrium c) To learn the correct usage of physical units (US system) ) To calculate natural

More information

Solutions to Practice Problems Tuesday, October 28, 2008

Solutions to Practice Problems Tuesday, October 28, 2008 Solutions to Practice Problems Tuesay, October 28, 2008 1. The graph of the function f is shown below. Figure 1: The graph of f(x) What is x 1 + f(x)? What is x 1 f(x)? An oes x 1 f(x) exist? If so, what

More information

Problem Set 2: Solutions

Problem Set 2: Solutions UNIVERSITY OF ALABAMA Department of Physics an Astronomy PH 102 / LeClair Summer II 2010 Problem Set 2: Solutions 1. The en of a charge rubber ro will attract small pellets of Styrofoam that, having mae

More information

JUST THE MATHS UNIT NUMBER DIFFERENTIATION 2 (Rates of change) A.J.Hobson

JUST THE MATHS UNIT NUMBER DIFFERENTIATION 2 (Rates of change) A.J.Hobson JUST THE MATHS UNIT NUMBER 10.2 DIFFERENTIATION 2 (Rates of change) by A.J.Hobson 10.2.1 Introuction 10.2.2 Average rates of change 10.2.3 Instantaneous rates of change 10.2.4 Derivatives 10.2.5 Exercises

More information

6. Friction and viscosity in gasses

6. Friction and viscosity in gasses IR2 6. Friction an viscosity in gasses 6.1 Introuction Similar to fluis, also for laminar flowing gases Newtons s friction law hols true (see experiment IR1). Using Newton s law the viscosity of air uner

More information

Lecture 1b. Differential operators and orthogonal coordinates. Partial derivatives. Divergence and divergence theorem. Gradient. A y. + A y y dy. 1b.

Lecture 1b. Differential operators and orthogonal coordinates. Partial derivatives. Divergence and divergence theorem. Gradient. A y. + A y y dy. 1b. b. Partial erivatives Lecture b Differential operators an orthogonal coorinates Recall from our calculus courses that the erivative of a function can be efine as f ()=lim 0 or using the central ifference

More information

Electricity & Magnetism Lecture 5: Electric Potential Energy

Electricity & Magnetism Lecture 5: Electric Potential Energy Electricity & Magnetism Lecture 5: Electric Potential Energy Toay... Ø Ø Ø Ø Recap of Unit 19 graing This unit s (21) wri=en Homework Electric PotenDal Energy Unit 21 session GravitaDonal an Electrical

More information

Analytic Scaling Formulas for Crossed Laser Acceleration in Vacuum

Analytic Scaling Formulas for Crossed Laser Acceleration in Vacuum October 6, 4 ARDB Note Analytic Scaling Formulas for Crosse Laser Acceleration in Vacuum Robert J. Noble Stanfor Linear Accelerator Center, Stanfor University 575 San Hill Roa, Menlo Park, California 945

More information

Topic 2.3: The Geometry of Derivatives of Vector Functions

Topic 2.3: The Geometry of Derivatives of Vector Functions BSU Math 275 Notes Topic 2.3: The Geometry of Derivatives of Vector Functions Textbook Sections: 13.2 From the Toolbox (what you nee from previous classes): Be able to compute erivatives scalar-value functions

More information

Inverting: Representing rotations and translations between coordinate frames of reference. z B. x B x. y B. v = [ x y z ] v = R v B A. y B.

Inverting: Representing rotations and translations between coordinate frames of reference. z B. x B x. y B. v = [ x y z ] v = R v B A. y B. Kinematics Kinematics: Given the joint angles, comute the han osition = Λ( q) Inverse kinematics: Given the han osition, comute the joint angles to attain that osition q = Λ 1 ( ) s usual, inverse roblems

More information

Calculus Class Notes for the Combined Calculus and Physics Course Semester I

Calculus Class Notes for the Combined Calculus and Physics Course Semester I Calculus Class Notes for the Combine Calculus an Physics Course Semester I Kelly Black December 14, 2001 Support provie by the National Science Founation - NSF-DUE-9752485 1 Section 0 2 Contents 1 Average

More information

Department of Physics University of Maryland College Park, Maryland. Fall 2005 Final Exam Dec. 16, u 2 dt )2, L = m u 2 d θ, ( d θ

Department of Physics University of Maryland College Park, Maryland. Fall 2005 Final Exam Dec. 16, u 2 dt )2, L = m u 2 d θ, ( d θ Department of Physics University of arylan College Park, arylan PHYSICS 4 Prof. S. J. Gates Fall 5 Final Exam Dec. 6, 5 This is a OPEN book examination. Rea the entire examination before you begin to work.

More information

arxiv:physics/ v4 [physics.class-ph] 9 Jul 1999

arxiv:physics/ v4 [physics.class-ph] 9 Jul 1999 AIAA-99-2144 PROPULSION THROUGH ELECTROMAGNETIC SELF-SUSTAINED ACCELERATION arxiv:physics/9906059v4 [physics.class-ph] 9 Jul 1999 Abstract As is known the repulsion of the volume elements of an uniformly

More information

Designing Information Devices and Systems II Fall 2017 Note Theorem: Existence and Uniqueness of Solutions to Differential Equations

Designing Information Devices and Systems II Fall 2017 Note Theorem: Existence and Uniqueness of Solutions to Differential Equations EECS 6B Designing Information Devices an Systems II Fall 07 Note 3 Secon Orer Differential Equations Secon orer ifferential equations appear everywhere in the real worl. In this note, we will walk through

More information

Differentiation ( , 9.5)

Differentiation ( , 9.5) Chapter 2 Differentiation (8.1 8.3, 9.5) 2.1 Rate of Change (8.2.1 5) Recall that the equation of a straight line can be written as y = mx + c, where m is the slope or graient of the line, an c is the

More information

Survey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013

Survey Sampling. 1 Design-based Inference. Kosuke Imai Department of Politics, Princeton University. February 19, 2013 Survey Sampling Kosuke Imai Department of Politics, Princeton University February 19, 2013 Survey sampling is one of the most commonly use ata collection methos for social scientists. We begin by escribing

More information

Introduction to Mechanics Work and Energy

Introduction to Mechanics Work and Energy Introuction to Mechanics Work an Energy Lana Sherian De Anza College Mar 15, 2018 Last time non-uniform circular motion an tangential acceleration energy an work Overview energy work a more general efinition

More information

12.5. Differentiation of vectors. Introduction. Prerequisites. Learning Outcomes

12.5. Differentiation of vectors. Introduction. Prerequisites. Learning Outcomes Differentiation of vectors 12.5 Introuction The area known as vector calculus is use to moel mathematically a vast range of engineering phenomena incluing electrostatics, electromagnetic fiels, air flow

More information

DOUBLE PENDULUM VIBRATION MOTION IN FLUID FLOW

DOUBLE PENDULUM VIBRATION MOTION IN FLUID FLOW ENGINEERING FOR RURA DEEOPMENT Jelgava,.-.5.5. DOUBE PENDUUM IBRATION MOTION IN FUID FOW Janis iba, Maris Eiuks, Martins Irbe Riga Technical University, atvia janis.viba@rtu.lv, maris.eiuks@rtu.lv, martins.irbe@rtu.lv

More information

Conservation Laws. Chapter Conservation of Energy

Conservation Laws. Chapter Conservation of Energy 20 Chapter 3 Conservation Laws In orer to check the physical consistency of the above set of equations governing Maxwell-Lorentz electroynamics [(2.10) an (2.12) or (1.65) an (1.68)], we examine the action

More information

Physics 121 for Majors

Physics 121 for Majors Physics 121 for Majors Scheule Do Post-Class Quiz #3 Do Pre-Class Quiz #4 HW #2 is ue Wenesay Quiz #1 is ue Saturay, Sept. 16 Lab #1 is set up now, ue Monay Some Department Resources Computers N-212 ESC

More information

4.2 First Differentiation Rules; Leibniz Notation

4.2 First Differentiation Rules; Leibniz Notation .. FIRST DIFFERENTIATION RULES; LEIBNIZ NOTATION 307. First Differentiation Rules; Leibniz Notation In this section we erive rules which let us quickly compute the erivative function f (x) for any polynomial

More information

Statics. There are four fundamental quantities which occur in mechanics:

Statics. There are four fundamental quantities which occur in mechanics: Statics Mechanics isabranchofphysicsinwhichwestuythestate of rest or motion of boies subject to the action of forces. It can be ivie into two logical parts: statics, where we investigate the equilibrium

More information

Convergence of Random Walks

Convergence of Random Walks Chapter 16 Convergence of Ranom Walks This lecture examines the convergence of ranom walks to the Wiener process. This is very important both physically an statistically, an illustrates the utility of

More information

11.7. Implicit Differentiation. Introduction. Prerequisites. Learning Outcomes

11.7. Implicit Differentiation. Introduction. Prerequisites. Learning Outcomes Implicit Differentiation 11.7 Introuction This Section introuces implicit ifferentiation which is use to ifferentiate functions expresse in implicit form (where the variables are foun together). Examples

More information

Experimental Robustness Study of a Second-Order Sliding Mode Controller

Experimental Robustness Study of a Second-Order Sliding Mode Controller Experimental Robustness Stuy of a Secon-Orer Sliing Moe Controller Anré Blom, Bram e Jager Einhoven University of Technology Department of Mechanical Engineering P.O. Box 513, 5600 MB Einhoven, The Netherlans

More information

12.11 Laplace s Equation in Cylindrical and

12.11 Laplace s Equation in Cylindrical and SEC. 2. Laplace s Equation in Cylinrical an Spherical Coorinates. Potential 593 2. Laplace s Equation in Cylinrical an Spherical Coorinates. Potential One of the most important PDEs in physics an engineering

More information

there is no special reason why the value of y should be fixed at y = 0.3. Any y such that

there is no special reason why the value of y should be fixed at y = 0.3. Any y such that 25. More on bivariate functions: partial erivatives integrals Although we sai that the graph of photosynthesis versus temperature in Lecture 16 is like a hill, in the real worl hills are three-imensional

More information

Quantum Mechanics in Three Dimensions

Quantum Mechanics in Three Dimensions Physics 342 Lecture 20 Quantum Mechanics in Three Dimensions Lecture 20 Physics 342 Quantum Mechanics I Monay, March 24th, 2008 We begin our spherical solutions with the simplest possible case zero potential.

More information

Nested Saturation with Guaranteed Real Poles 1

Nested Saturation with Guaranteed Real Poles 1 Neste Saturation with Guarantee Real Poles Eric N Johnson 2 an Suresh K Kannan 3 School of Aerospace Engineering Georgia Institute of Technology, Atlanta, GA 3332 Abstract The global stabilization of asymptotically

More information