CMSC 425: Lecture 7 Geometric Programming: Sample Solutions

Size: px
Start display at page:

Download "CMSC 425: Lecture 7 Geometric Programming: Sample Solutions"

Transcription

1 CMSC 425: Lecture 7 Geometric Programming: Samle Solutions Samles: In the last few lectures, we have been discussing affine and Euclidean geometr, coordinate frames and affine transformations, and rotations. In this lecture, we work through a few examles of how to al these concets to solve a few concrete roblems that might arise in the context of game rogramming. Caveat: I have not tested the Unit code given here, so don t trust it! Shot-Gun Simulator: Problem: You have been asked to imlement a new weaon that behaves something like a shot gun. It has a wide ange of effectiveness, but it is onl effective at relativel small distances. Suose that the end of the mule of the gun is located at a oint (in 3-dimensional sace), and it has been aimed at a target oint t (see Fig. 1). The gun shoots a sra of ellets within angle θ the central axis between and t, but bullets are onl effective u to a distance of r from the end of the mule. (Let s assume that θ is given in degrees and is strictl smaller than 90.) Given a oint, write a rocedure to determine whether the oint will be hit when the gun is fired. r r û u θ t θ v t (b) Fig. 1: Shot gun. Solution: We need to determine (1) whether lies within the infinite cone about the central axis t and (2) whether is close enough to be hit. How do we determine the first condition? We can construct two vectors, one from to t and one from to, and determine whether the angle between them is at most θ degrees (see Fig. 1(b)). First, define a vector v to be the vector from to t, that is, v t. Next, define the vector u to be a vector that is directed from to, thus, u. Let us normalie these vectors to unit length, b defining û normalie( u) = u/l(u), where l(u) = u = u u. (Here we have used the roert of dot roduct, that the dot roduct of a vector with itself is the vector s suared length.) We can do the same for v. In order for to lie within the cone, we comute the angle between these vectors. Recall, that we can comute the cosine of two unit vectors b taking their dot roduct. Since the cosine is a monotonicall decreasing function (for the angles in the range from 0 to 180 ), this is euivalent to the condition û v cos θ. Lecture 7 1 Sring 2018

2 Be careful! Remember that θ is given in degrees and the cosine function assumes that the argument is given in radians. To convert from degrees to radians we multil b π/180. So the correct exression is ( π ) û v cos θ. 180 To solve (2), it suffices to test whether If l(u) > r then is too far awa to be hit. To summarie, we have the following test. v t ; u l(v) v = v v; l(u) u = u u v normalie( v) = v/l(v); û normalie( u) = u/l(u) c 1 û v ( π ) c 2 cos θ 180 return true iff (c 1 c 2 and l(u) r). A Unit imlementation of this rocedure (which I haven t tested) can be found in the following code block. } Does a shot gun fired at toward t hit oint? bool HitMe ( Vector3, Vector3 t, float theta, float r, Vector3 ) { Vector3 v = t - ; // vector from mule end to target Vector3 u = - ; // vector from mule end to float lu = u. magnitude ; // distance to Vector3 vv = v. normalied ; // directional vector to t Vector3 uu = u. normalied ; // directional vector to float c1 = Vector3. Dot ( uu, vv); // cosine of angle between vectors float c2 = Mathf. Cos ( theta * Mathf. PI / 180) ; // cosine of hit cone return ( c1 >= c2) && ( lu <= r); // target within cone and distance Projectile Shooting: Your game involves a shooting an object (and arrow, rock, grenade, or other rojectile) in a certain direction. Your boss wants ou to write a rogram to determine where the rojectile will land, as art of an aiming tool for inexerienced laers. Suose that the rojectile is launched from a location that is h meters above the ground. Following Unit s convention the rojectile starts above on the vertical () axis, at coordinates (0, h, 0). Suose that the rojectile is launched with a velocit given b the vector v 0 = (v 0,x, v 0,, v 0, ). Let s assume that the arrow is shot uwards, that is, v 0, > 0. To simlif matters, let s assume that the rojectile is shot in the forward () direction. Thus v 0,x = 0 and v 0, > 0. We want to determine the distance l from the shooter where the rojectile hits the ground. Let t = 0 denote the time at which the object is shot. After consulting a standard textbook on Phsics, we are reminded that (on Earth at least) the force of gravit results in an acceleration of g 9.8m/s 2. Lecture 7 2 Sring 2018

3 v 0 = ( x, h, ) v 0 h h v 0, t x (b) Fig. 2: Projectile shooting After consulting our hsics text, ou find out that after t time units have elased, the osition of the rojectile is (t) = ((t), (t)), where (t) = v 0, t and (t) = h + v 0, t 1 2 gt2. (Assuming no wind resistance, the rojectile s motion with the -axis is constant over time as v 0,. It s motion with resect to the -axis follows a downward arabolic arc as a function of time t.) We are interested in the time t when the rojectile hits the ground, that is, (t) = 0. Time of Imact: Letting a = g/2, b = v 0,, and c = h, we seek the value of t such that at 2 + bt + c = 0. (We have intentionall negated the coefficients so that a > 0.) B the uadratic formula we have t = b ± b 2 4ac 2a = v 0, ± v0, 2 + 2gh. g Note that the uantit under the suare-root sign is ositive and is larger than v 0,, which imlies that both roots exist, one is ositive and one is negative. Clearl, we want the ositive root. (As an exercise, what does the negative root corresond to?) Thus, we take the + root from the ± otion, which ields t = ( v 0, + v 2 0, + 2gh ) /g. Location of Imact: We know that the rojectile moves at a rate of v 0, units er second horiontall. Therefore, at time t = t it has traveled a distance of v 0, t units. Since we started at the origin, the location we hit the ground is (x,, ) = (0, 0, v 0, t ). Generaliing this: We assumed that the rojectile was shot along the -axis. Note that the generaliation is ver eas. We comute t in the same manner as above, since it deends onl on the height and vertical velocit. Then we al the same reasoning for x as for. The rojectile travels a distance of v 0,x t units along the x-axis, so its final osition is (x,, ) = (v 0,x t, 0, v 0, t ). We also assumed that the rojective was shot from h units above the origin. If, instead it had been shot from some arbitrar oint ( x, h, ), then we would dislace the final location b this amount, as = ( x + v 0,x t, 0, + v 0, t ). This is where we would draw our sot for aiming tool (see Fig. 2(b)). Lecture 7 3 Sring 2018

4 Aiming Tool for Projectile Vector3 HitSot ( Vector3, Vector3 v) { float h =.; // height above ground float a = 9.8 f / 2. 0 f; // uadratic coefficients float b = -v.; float c = -h; float t = (-b + Math. Srt (b*b - 4*a*c)) / (2* a); // time in the air return new Vector3 (.x + v.x*t, 0,. + v.*t); // where we hit } Shooting and Arrow: Before leaving the toic of shooting the rojectile, it is worth observing that the Unit Phsics engine can simulate the motion of the rojectile. This will look fine if the rojectile is a ball. However, if the rojectile is an arrow, the arrow will not turn roerl in the air in the manner that arrows do. Unit will siml translate the arrow through sace, without rotating it (see Fig. 3). This raises the uestion, How can we rotate the arrow to oint in the direction it is traveling? (see Fig. 3(b)) (b) Fig. 3: Arrow shooting This ma seem to be a comlicated uestion. Clearl, this is not a rotation about the axes, and so Euler angles would not be the right aroach. We need to use uaternions. We want to secif a uaterion that will cause the arrow to rotate in the direction it is moving. Luckil for us, Unit rovides a function that does almost what we need. The Unit function Quaternion.LookRotation(Vector3 forward) generates a rotation (reresented as a uaternion) that aligns the forward () axis with the argument. Thus, to align the arrow with the direction it is heading, we can use the following Unit commands: RigidBod rb = getcomonent < RigidBod > (); transform. rotation = Quaternion. LookRotation ( rb. velocit ); This will rotate the object so its orientation matches its velocit, as desired. Evasive Action: Problem: In our latest game, ou are simulating the AI for some alien sace shis. Each sace shi is associated with its current osition, a oint, and two unit-length vectors. The first vector v indicates the direction in which the sace shi is fling. The second Lecture 7 4 Sring 2018

5 vector u is orthogonal to v and indicates the direction that is u relative to the ilot fling the sace shi (see Fig. 4). There are various obstacles to be avoided (asteroids, and such) and the AI sstem needs to issue turning commands to avoid these obstacles. Given an obstacle at some oint, the uestion that we want to determine is whether we should turn (aw) to the left or right and whether we should turn (itch) u or down to avoid the collision. (We won t worr about the actual number of degrees of rotation for now, just the direction.) u v r u ŵ v w Fig. 4: Evasive action. Solution: First observe that w defines a vector that is directed from the sace shi to the obstacle (see Fig. 4(b)). To convert this into a unit vector (since we just care about the direction), let us normalie it to unit length. (Recall that normaliing a vector involves dividing a vector b its length.) We can comute the length of a vector as the suare root of it dot roduct with itself. Thus, we have w ŵ normalie( w) = w w = w w w = w. wx 2 + w 2 + w 2 What we want to know is whether this vector is ointing to the sace-shi ilot s left or right (in which case we will turn the oosite direction), or is above or below (in which case we will itch in the oosite direction). Let s first tackle the roblem of whether to turn itch u or down. We can determine this b checking whether the angle between the u-vector u and ŵ. If this angle is smaller than 90, then the obstacle is above us and we should itch downward. Otherwise, we should itch uward. Given that both vectors have unit length, we can comute the cosine of the angle between them b the dot roduct. If the dot roduct is ositive, the angle is smaller than 90, thus the obstacle is above, and we turn down. Otherwise, we turn down. We have ŵ u 0 (obstacle above) itch downwards ŵ u < 0 (obstacle below) itch uwards. (B the wa, since we are onl checking the sign of this dot roduct, not its magnitude, it was not reall necessar to normalie w to unit length. We could have substituted w for ŵ above without affecting the correctness of the result.) Lecture 7 5 Sring 2018

6 Next, let s consider whether to turn left or right. We would like to erform a similar te of comutation, but to do so, we should generate a vector that indicates left and right relative to the ilot of the shi. Such a vector will be orthogonal both to the direction that we are fling and to the u direction. We can obtain such a vector using the cross-roduct. In articular, define a vector r v u. B the right-hand rule, this vector will oint to the ilot s right. B our assumtion that v and u are orthogonal to each other and of unit length, it follows from the definition of the cross roduct that r will also be of unit length. We reason in an analogous manner to the u-down case. If the angle between ŵ and r is smaller than 90, then the obstacle is to our right, and we turn left to avoid it. Otherwise, we turn right. This is euivalent to testing whether the cosine of the angle is ositive or negative. Thus, we have r v u ŵ r 0 (obstacle to the right) aw to the left ŵ r < 0 (obstacle to the left) aw to the right. A Unit imlementation of this rocedure (which I haven t tested) can be found in the following code block. Turning a shi at osition to avoid obstacle at void Evade ( Vector3, Vector3 v, Vector3 u, Vector3 ) { Vector3 w = - ; // vector from ilot to obstacle float l = w. magnitude ; // distance to obstacle Vector3 ww = w. normalied ; // directional vector to obstacle if ( Vector3. Dot ( ww, u) >= 0) // obstacle is above? PitchDown (); else PitchU (); Vector3 r = Vector3. Cross ( v, u); // vector to ilot s right if ( Vector3. Dot ( ww, r) >= 0) // obstacle is to the right YawToLeft (); else YawToRight (); } We have not discussed how to erform the itch or aw oerations. In Unit, these could be exressed as rotations about the vectors r and u, resectivel. Lecture 7 6 Sring 2018

CMSC 425: Lecture 4 Geometry and Geometric Programming

CMSC 425: Lecture 4 Geometry and Geometric Programming CMSC 425: Lecture 4 Geometry and Geometric Programming Geometry for Game Programming and Grahics: For the next few lectures, we will discuss some of the basic elements of geometry. There are many areas

More information

Chapter 6. Phillip Hall - Room 537, Huxley

Chapter 6. Phillip Hall - Room 537, Huxley Chater 6 6 Partial Derivatives.................................................... 72 6. Higher order artial derivatives...................................... 73 6.2 Matrix of artial derivatives.........................................74

More information

Planar Transformations and Displacements

Planar Transformations and Displacements Chater Planar Transformations and Dislacements Kinematics is concerned with the roerties of the motion of oints. These oints are on objects in the environment or on a robot maniulator. Two features that

More information

When solving problems involving changing momentum in a system, we shall employ our general problem solving strategy involving four basic steps:

When solving problems involving changing momentum in a system, we shall employ our general problem solving strategy involving four basic steps: 10.9 Worked Examles 10.9.1 Problem Solving Strategies When solving roblems involving changing momentum in a system, we shall emloy our general roblem solving strategy involving four basic stes: 1. Understand

More information

Lecture 1.2 Pose in 2D and 3D. Thomas Opsahl

Lecture 1.2 Pose in 2D and 3D. Thomas Opsahl Lecture 1.2 Pose in 2D and 3D Thomas Osahl Motivation For the inhole camera, the corresondence between observed 3D oints in the world and 2D oints in the catured image is given by straight lines through

More information

Math 323 Exam 2 - Practice Problem Solutions. 2. Given the vectors a = 1,2,0, b = 1,0,2, and c = 0,1,1, compute the following:

Math 323 Exam 2 - Practice Problem Solutions. 2. Given the vectors a = 1,2,0, b = 1,0,2, and c = 0,1,1, compute the following: Math 323 Eam 2 - Practice Problem Solutions 1. Given the vectors a = 2,, 1, b = 3, 2,4, and c = 1, 4,, compute the following: (a) A unit vector in the direction of c. u = c c = 1, 4, 1 4 =,, 1+16+ 17 17

More information

Micro I. Lesson 5 : Consumer Equilibrium

Micro I. Lesson 5 : Consumer Equilibrium Microecono mics I. Antonio Zabalza. Universit of Valencia 1 Micro I. Lesson 5 : Consumer Equilibrium 5.1 Otimal Choice If references are well behaved (smooth, conve, continuous and negativel sloed), then

More information

John Weatherwax. Analysis of Parallel Depth First Search Algorithms

John Weatherwax. Analysis of Parallel Depth First Search Algorithms Sulementary Discussions and Solutions to Selected Problems in: Introduction to Parallel Comuting by Viin Kumar, Ananth Grama, Anshul Guta, & George Karyis John Weatherwax Chater 8 Analysis of Parallel

More information

Session 5: Review of Classical Astrodynamics

Session 5: Review of Classical Astrodynamics Session 5: Review of Classical Astrodynamics In revious lectures we described in detail the rocess to find the otimal secific imulse for a articular situation. Among the mission requirements that serve

More information

Calculating the force exerted by the photon on the elementary particle

Calculating the force exerted by the photon on the elementary particle Calculating the force exerted b the hoton on the elementar article R. MANJUNATH #16,8 TH Main road, Shivanagar, Rajajinagar Bangalore:-560010, INDIA, manjunath5496@gmail.com Abstract: - Photons, like all

More information

Use of Transformations and the Repeated Statement in PROC GLM in SAS Ed Stanek

Use of Transformations and the Repeated Statement in PROC GLM in SAS Ed Stanek Use of Transformations and the Reeated Statement in PROC GLM in SAS Ed Stanek Introduction We describe how the Reeated Statement in PROC GLM in SAS transforms the data to rovide tests of hyotheses of interest.

More information

University of Alabama Department of Physics and Astronomy. PH 105 LeClair Summer Problem Set 3 Solutions

University of Alabama Department of Physics and Astronomy. PH 105 LeClair Summer Problem Set 3 Solutions University of Alabama Department of Physics and Astronomy PH 105 LeClair Summer 2012 Instructions: Problem Set 3 Solutions 1. Answer all questions below. All questions have equal weight. 2. Show your work

More information

MATH 2710: NOTES FOR ANALYSIS

MATH 2710: NOTES FOR ANALYSIS MATH 270: NOTES FOR ANALYSIS The main ideas we will learn from analysis center around the idea of a limit. Limits occurs in several settings. We will start with finite limits of sequences, then cover infinite

More information

Review! Kinematics: Free Fall, A Special Case. Review! A Few Facts About! Physics 101 Lecture 3 Kinematics: Vectors and Motion in 1 Dimension

Review! Kinematics: Free Fall, A Special Case. Review! A Few Facts About! Physics 101 Lecture 3 Kinematics: Vectors and Motion in 1 Dimension Phsics 101 Lecture 3 Kinematics: Vectors and Motion in 1 Dimension What concepts did ou find most difficult, or what would ou like to be sure we discuss in lecture? Acceleration vectors. Will ou go over

More information

Lecture 1.2 Units, Dimensions, Estimations 1. Units To measure a quantity in physics means to compare it with a standard. Since there are many

Lecture 1.2 Units, Dimensions, Estimations 1. Units To measure a quantity in physics means to compare it with a standard. Since there are many Lecture. Units, Dimensions, Estimations. Units To measure a quantity in hysics means to comare it with a standard. Since there are many different quantities in nature, it should be many standards for those

More information

Chapter 3 2-D Motion

Chapter 3 2-D Motion Chapter 3 2-D Motion We will need to use vectors and their properties a lot for this chapter. .. Pythagorean Theorem: Sample problem: First you hike 100 m north. Then hike 50 m west. Finally

More information

Chapter 3 Kinematics in Two Dimensions; Vectors

Chapter 3 Kinematics in Two Dimensions; Vectors Chapter 3 Kinematics in Two Dimensions; Vectors Vectors and Scalars Addition of Vectors Graphical Methods (One and Two- Dimension) Multiplication of a Vector by a Scalar Subtraction of Vectors Graphical

More information

Today. CS-184: Computer Graphics. Introduction. Some Examples. 2D Transformations

Today. CS-184: Computer Graphics. Introduction. Some Examples. 2D Transformations Toda CS-184: Comuter Grahics Lecture #3: 2D Transformations Prof. James O Brien Universit of California, Berkele V2005F-03-1.0 2D Transformations Primitive Oerations Scale, Rotate, Shear, Fli, Translate

More information

Approximating min-max k-clustering

Approximating min-max k-clustering Aroximating min-max k-clustering Asaf Levin July 24, 2007 Abstract We consider the roblems of set artitioning into k clusters with minimum total cost and minimum of the maximum cost of a cluster. The cost

More information

Round-off Errors and Computer Arithmetic - (1.2)

Round-off Errors and Computer Arithmetic - (1.2) Round-off Errors and Comuter Arithmetic - (.). Round-off Errors: Round-off errors is roduced when a calculator or comuter is used to erform real number calculations. That is because the arithmetic erformed

More information

(IV.D) PELL S EQUATION AND RELATED PROBLEMS

(IV.D) PELL S EQUATION AND RELATED PROBLEMS (IV.D) PELL S EQUATION AND RELATED PROBLEMS Let d Z be non-square, K = Q( d). As usual, we take S := Z[ [ ] d] (for any d) or Z 1+ d (only if d 1). We have roved that (4) S has a least ( fundamental )

More information

8 STOCHASTIC PROCESSES

8 STOCHASTIC PROCESSES 8 STOCHASTIC PROCESSES The word stochastic is derived from the Greek στoχαστικoς, meaning to aim at a target. Stochastic rocesses involve state which changes in a random way. A Markov rocess is a articular

More information

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2,

Math 4400/6400 Homework #8 solutions. 1. Let P be an odd integer (not necessarily prime). Show that modulo 2, MATH 4400 roblems. Math 4400/6400 Homework # solutions 1. Let P be an odd integer not necessarily rime. Show that modulo, { P 1 0 if P 1, 7 mod, 1 if P 3, mod. Proof. Suose that P 1 mod. Then we can write

More information

Numerical Linear Algebra

Numerical Linear Algebra Numerical Linear Algebra Numerous alications in statistics, articularly in the fitting of linear models. Notation and conventions: Elements of a matrix A are denoted by a ij, where i indexes the rows and

More information

Linear diophantine equations for discrete tomography

Linear diophantine equations for discrete tomography Journal of X-Ray Science and Technology 10 001 59 66 59 IOS Press Linear diohantine euations for discrete tomograhy Yangbo Ye a,gewang b and Jiehua Zhu a a Deartment of Mathematics, The University of Iowa,

More information

Elementary Analysis in Q p

Elementary Analysis in Q p Elementary Analysis in Q Hannah Hutter, May Szedlák, Phili Wirth November 17, 2011 This reort follows very closely the book of Svetlana Katok 1. 1 Sequences and Series In this section we will see some

More information

0.1 Practical Guide - Surface Integrals. C (0,0,c) A (0,b,0) A (a,0,0)

0.1 Practical Guide - Surface Integrals. C (0,0,c) A (0,b,0) A (a,0,0) . Practical Guide - urface Integrals urface integral,means to integrate over a surface. We begin with the stud of surfaces. The easiest wa is to give as man familiar eamles as ossible ) a lane surface

More information

Projectile Motion: Vectors

Projectile Motion: Vectors Projectile Motion: Vectors Ch. 5 in your text book Students will be able to: 1) Add smaller vectors going in the same direction to get one large vector for that direction 2) Draw a resultant vector for

More information

ALTERNATIVE SOLUTION TO THE QUARTIC EQUATION by Farid A. Chouery 1, P.E. 2006, All rights reserved

ALTERNATIVE SOLUTION TO THE QUARTIC EQUATION by Farid A. Chouery 1, P.E. 2006, All rights reserved ALTERNATIVE SOLUTION TO THE QUARTIC EQUATION b Farid A. Chouer, P.E. 006, All rights reserved Abstract A new method to obtain a closed form solution of the fourth order olnomial equation is roosed in this

More information

Strong Matching of Points with Geometric Shapes

Strong Matching of Points with Geometric Shapes Strong Matching of Points with Geometric Shaes Ahmad Biniaz Anil Maheshwari Michiel Smid School of Comuter Science, Carleton University, Ottawa, Canada December 9, 05 In memory of Ferran Hurtado. Abstract

More information

arxiv: v1 [physics.data-an] 26 Oct 2012

arxiv: v1 [physics.data-an] 26 Oct 2012 Constraints on Yield Parameters in Extended Maximum Likelihood Fits Till Moritz Karbach a, Maximilian Schlu b a TU Dortmund, Germany, moritz.karbach@cern.ch b TU Dortmund, Germany, maximilian.schlu@cern.ch

More information

MATH 250: THE DISTRIBUTION OF PRIMES. ζ(s) = n s,

MATH 250: THE DISTRIBUTION OF PRIMES. ζ(s) = n s, MATH 50: THE DISTRIBUTION OF PRIMES ROBERT J. LEMKE OLIVER For s R, define the function ζs) by. Euler s work on rimes ζs) = which converges if s > and diverges if s. In fact, though we will not exloit

More information

Uniform Law on the Unit Sphere of a Banach Space

Uniform Law on the Unit Sphere of a Banach Space Uniform Law on the Unit Shere of a Banach Sace by Bernard Beauzamy Société de Calcul Mathématique SA Faubourg Saint Honoré 75008 Paris France Setember 008 Abstract We investigate the construction of a

More information

Projectile Motion. Chin- Sung Lin STEM GARAGE SCIENCE PHYSICS

Projectile Motion. Chin- Sung Lin STEM GARAGE SCIENCE PHYSICS Projectile Motion Chin- Sung Lin Introduction to Projectile Motion q What is Projectile Motion? q Trajectory of a Projectile q Calculation of Projectile Motion Introduction to Projectile Motion q What

More information

1-D and 2-D Motion Test Friday 9/8

1-D and 2-D Motion Test Friday 9/8 1-D and -D Motion Test Frida 9/8 3-1 Vectors and Scalars A vector has magnitude as well as direction. Some vector quantities: displacement, velocit, force, momentum A scalar has onl a magnitude. Some scalar

More information

Complex Analysis Homework 1

Complex Analysis Homework 1 Comlex Analysis Homework 1 Steve Clanton Sarah Crimi January 27, 2009 Problem Claim. If two integers can be exressed as the sum of two squares, then so can their roduct. Proof. Call the two squares that

More information

8.7 Associated and Non-associated Flow Rules

8.7 Associated and Non-associated Flow Rules 8.7 Associated and Non-associated Flow Rules Recall the Levy-Mises flow rule, Eqn. 8.4., d ds (8.7.) The lastic multilier can be determined from the hardening rule. Given the hardening rule one can more

More information

Lecture 6. 2 Recurrence/transience, harmonic functions and martingales

Lecture 6. 2 Recurrence/transience, harmonic functions and martingales Lecture 6 Classification of states We have shown that all states of an irreducible countable state Markov chain must of the same tye. This gives rise to the following classification. Definition. [Classification

More information

Extension of Minimax to Infinite Matrices

Extension of Minimax to Infinite Matrices Extension of Minimax to Infinite Matrices Chris Calabro June 21, 2004 Abstract Von Neumann s minimax theorem is tyically alied to a finite ayoff matrix A R m n. Here we show that (i) if m, n are both inite,

More information

DIFFERENTIAL GEOMETRY. LECTURES 9-10,

DIFFERENTIAL GEOMETRY. LECTURES 9-10, DIFFERENTIAL GEOMETRY. LECTURES 9-10, 23-26.06.08 Let us rovide some more details to the definintion of the de Rham differential. Let V, W be two vector bundles and assume we want to define an oerator

More information

Solutions to Assignment #02 MATH u v p 59. p 72. h 3; 1; 2i h4; 2; 5i p 14. p 45. = cos 1 2 p!

Solutions to Assignment #02 MATH u v p 59. p 72. h 3; 1; 2i h4; 2; 5i p 14. p 45. = cos 1 2 p! Solutions to Assignment #0 MATH 41 Kawai/Arangno/Vecharynski Section 1. (I) Comlete Exercises #1cd on. 810. searation to TWO decimal laces. So do NOT leave the nal answer as cos 1 (something) : (c) The

More information

Economics 101. Lecture 7 - Monopoly and Oligopoly

Economics 101. Lecture 7 - Monopoly and Oligopoly Economics 0 Lecture 7 - Monooly and Oligooly Production Equilibrium After having exlored Walrasian equilibria with roduction in the Robinson Crusoe economy, we will now ste in to a more general setting.

More information

A Solution for the Dark Matter Mystery based on Euclidean Relativity

A Solution for the Dark Matter Mystery based on Euclidean Relativity Long Beach 2010 PROCEEDINGS of the NPA 1 A Solution for the Dark Matter Mystery based on Euclidean Relativity Frédéric Lassiaille Arcades, Mougins 06250, FRANCE e-mail: lumimi2003@hotmail.com The study

More information

10.2 The Unit Circle: Cosine and Sine

10.2 The Unit Circle: Cosine and Sine 0. The Unit Circle: Cosine and Sine 77 0. The Unit Circle: Cosine and Sine In Section 0.., we introduced circular motion and derived a formula which describes the linear velocit of an object moving on

More information

Find the equation of a plane perpendicular to the line x = 2t + 1, y = 3t + 4, z = t 1 and passing through the point (2, 1, 3).

Find the equation of a plane perpendicular to the line x = 2t + 1, y = 3t + 4, z = t 1 and passing through the point (2, 1, 3). CME 100 Midterm Solutions - Fall 004 1 CME 100 - Midterm Solutions - Fall 004 Problem 1 Find the equation of a lane erendicular to the line x = t + 1, y = 3t + 4, z = t 1 and assing through the oint (,

More information

Chapter 7 Rational and Irrational Numbers

Chapter 7 Rational and Irrational Numbers Chater 7 Rational and Irrational Numbers In this chater we first review the real line model for numbers, as discussed in Chater 2 of seventh grade, by recalling how the integers and then the rational numbers

More information

DUAL NUMBERS, WEIGHTED QUIVERS, AND EXTENDED SOMOS AND GALE-ROBINSON SEQUENCES. To Alexandre Alexandrovich Kirillov on his 3 4 th anniversary

DUAL NUMBERS, WEIGHTED QUIVERS, AND EXTENDED SOMOS AND GALE-ROBINSON SEQUENCES. To Alexandre Alexandrovich Kirillov on his 3 4 th anniversary DUAL NUMBERS, WEIGHTED QUIVERS, AND EXTENDED SOMOS AND GALE-ROBINSON SEQUENCES VALENTIN OVSIENKO AND SERGE TABACHNIKOV Abstract. We investigate a general method that allows one to construct new integer

More information

PHYS 301 HOMEWORK #9-- SOLUTIONS

PHYS 301 HOMEWORK #9-- SOLUTIONS PHYS 0 HOMEWORK #9-- SOLUTIONS. We are asked to use Dirichlet' s theorem to determine the value of f (x) as defined below at x = 0, ± /, ± f(x) = 0, - < x

More information

Optimization of Gear Design and Manufacture. Vilmos SIMON *

Optimization of Gear Design and Manufacture. Vilmos SIMON * 7 International Conference on Mechanical and Mechatronics Engineering (ICMME 7) ISBN: 978--6595-44- timization of Gear Design and Manufacture Vilmos SIMN * Budaest Universit of Technolog and Economics,

More information

Central Force Motion Challenge Problems

Central Force Motion Challenge Problems Central Force Motion Challenge Problems Problem 1: Ellitic Orbit A satellite of mass m s is in an ellitical orbit around a lanet of mass m which is located at one focus of the ellise. The satellite has

More information

AP Calculus Testbank (Chapter 10) (Mr. Surowski)

AP Calculus Testbank (Chapter 10) (Mr. Surowski) AP Calculus Testbank (Chater 1) (Mr. Surowski) Part I. Multile-Choice Questions 1. The grah in the xy-lane reresented by x = 3 sin t and y = cost is (A) a circle (B) an ellise (C) a hyerbola (D) a arabola

More information

Advanced Cryptography Midterm Exam

Advanced Cryptography Midterm Exam Advanced Crytograhy Midterm Exam Solution Serge Vaudenay 17.4.2012 duration: 3h00 any document is allowed a ocket calculator is allowed communication devices are not allowed the exam invigilators will

More information

6.2 Trigonometric Functions: Unit Circle Approach

6.2 Trigonometric Functions: Unit Circle Approach SECTION. Trigonometric Functions: Unit Circle Aroach [Note: There is a 90 angle between the two foul lines. Then there are two angles between the foul lines and the dotted lines shown. The angle between

More information

CHAPTER 3: TANGENT SPACE

CHAPTER 3: TANGENT SPACE CHAPTER 3: TANGENT SPACE DAVID GLICKENSTEIN 1. Tangent sace We shall de ne the tangent sace in several ways. We rst try gluing them together. We know vectors in a Euclidean sace require a baseoint x 2

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

Quadratic Reciprocity

Quadratic Reciprocity Quadratic Recirocity 5-7-011 Quadratic recirocity relates solutions to x = (mod to solutions to x = (mod, where and are distinct odd rimes. The euations are oth solvale or oth unsolvale if either or has

More information

In this activity, we explore the application of differential equations to the real world as applied to projectile motion.

In this activity, we explore the application of differential equations to the real world as applied to projectile motion. Applications of Calculus: Projectile Motion ID: XXXX Name Class In this activity, we explore the application of differential equations to the real world as applied to projectile motion. Open the file CalcActXX_Projectile_Motion_EN.tns

More information

Projectile Motion trajectory Projectile motion

Projectile Motion trajectory Projectile motion Projectile Motion The path that a moving object follows is called its trajectory. An object thrown horizontally is accelerated downward under the influence of gravity. Gravitational acceleration is only

More information

Math 104B: Number Theory II (Winter 2012)

Math 104B: Number Theory II (Winter 2012) Math 104B: Number Theory II (Winter 01) Alina Bucur Contents 1 Review 11 Prime numbers 1 Euclidean algorithm 13 Multilicative functions 14 Linear diohantine equations 3 15 Congruences 3 Primes as sums

More information

SYMPLECTIC STRUCTURES: AT THE INTERFACE OF ANALYSIS, GEOMETRY, AND TOPOLOGY

SYMPLECTIC STRUCTURES: AT THE INTERFACE OF ANALYSIS, GEOMETRY, AND TOPOLOGY SYMPLECTIC STRUCTURES: AT THE INTERFACE OF ANALYSIS, GEOMETRY, AND TOPOLOGY FEDERICA PASQUOTTO 1. Descrition of the roosed research 1.1. Introduction. Symlectic structures made their first aearance in

More information

9 The Theory of Special Relativity

9 The Theory of Special Relativity 9 The Theory of Secial Relativity Assign: Read Chater 4 of Carrol and Ostlie (2006) Newtonian hysics is a quantitative descrition of Nature excet under three circumstances: 1. In the realm of the very

More information

Computer arithmetic. Intensive Computation. Annalisa Massini 2017/2018

Computer arithmetic. Intensive Computation. Annalisa Massini 2017/2018 Comuter arithmetic Intensive Comutation Annalisa Massini 7/8 Intensive Comutation - 7/8 References Comuter Architecture - A Quantitative Aroach Hennessy Patterson Aendix J Intensive Comutation - 7/8 3

More information

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes

Mathematics 309 Conic sections and their applicationsn. Chapter 2. Quadric figures. ai,j x i x j + b i x i + c =0. 1. Coordinate changes Mathematics 309 Conic sections and their applicationsn Chapter 2. Quadric figures In this chapter want to outline quickl how to decide what figure associated in 2D and 3D to quadratic equations look like.

More information

Code_Aster. Connection Harlequin 3D Beam

Code_Aster. Connection Harlequin 3D Beam Titre : Raccord Arlequin 3D Poutre Date : 24/07/2014 Page : 1/9 Connection Harlequin 3D Beam Summary: This document exlains the method Harlequin develoed in Code_Aster to connect a modeling continuous

More information

1 Gambler s Ruin Problem

1 Gambler s Ruin Problem Coyright c 2017 by Karl Sigman 1 Gambler s Ruin Problem Let N 2 be an integer and let 1 i N 1. Consider a gambler who starts with an initial fortune of $i and then on each successive gamble either wins

More information

The. Consortium. Continuum Mechanics. Original notes by Professor Mike Gunn, South Bank University, London, UK Produced by the CRISP Consortium Ltd

The. Consortium. Continuum Mechanics. Original notes by Professor Mike Gunn, South Bank University, London, UK Produced by the CRISP Consortium Ltd The C R I S P Consortium Continuum Mechanics Original notes b Professor Mike Gunn, South Bank Universit, London, UK Produced b the CRISP Consortium Ltd THOR OF STRSSS In a three dimensional loaded bod,

More information

Solution Week 75 (2/16/04) Hanging chain

Solution Week 75 (2/16/04) Hanging chain Catenary Catenary is idealized shae of chain or cable hanging under its weight with the fixed end oints. The chain (cable) curve is catenary that minimizes the otential energy PHY 322, Sring 208 Solution

More information

Sharp gradient estimate and spectral rigidity for p-laplacian

Sharp gradient estimate and spectral rigidity for p-laplacian Shar gradient estimate and sectral rigidity for -Lalacian Chiung-Jue Anna Sung and Jiaing Wang To aear in ath. Research Letters. Abstract We derive a shar gradient estimate for ositive eigenfunctions of

More information

Game Physics: Basic Concepts

Game Physics: Basic Concepts CMSC 498M: Chapter 8a Game Physics Reading: Game Physics, by David H Eberly, 2004 Physics for Game Developers, by David M Bourg, 2002 Overview: Basic physical quantities: Mass, center of mass, moment of

More information

Further differentiation and integration

Further differentiation and integration 7 Toic Further differentiation and integration Contents. evision exercise................................... 8. Introduction...................................... 9. Differentiation of sin x and cos x..........................

More information

LAB 05 Projectile Motion

LAB 05 Projectile Motion LAB 5 Projectile Motion CONTENT: 1. Introduction. Projectile motion A. Setup B. Various characteristics 3. Pre-lab: A. Activities B. Preliminar info C. Quiz 1. Introduction After introducing one-dimensional

More information

Notes on pressure coordinates Robert Lindsay Korty October 1, 2002

Notes on pressure coordinates Robert Lindsay Korty October 1, 2002 Notes on ressure coordinates Robert Lindsay Korty October 1, 2002 Obviously, it makes no difference whether the quasi-geostrohic equations are hrased in height coordinates (where x, y,, t are the indeendent

More information

Unit 1, Lessons 2-5: Vectors in Two Dimensions

Unit 1, Lessons 2-5: Vectors in Two Dimensions Unit 1, Lessons 2-5: Vectors in Two Dimensions Textbook Sign-Out Put your name in it and let s go! Check-In Any questions from last day s homework? Vector Addition 1. Find the resultant displacement

More information

SECTION 5: FIBRATIONS AND HOMOTOPY FIBERS

SECTION 5: FIBRATIONS AND HOMOTOPY FIBERS SECTION 5: FIBRATIONS AND HOMOTOPY FIBERS In this section we will introduce two imortant classes of mas of saces, namely the Hurewicz fibrations and the more general Serre fibrations, which are both obtained

More information

Kinematics. Vector solutions. Vectors

Kinematics. Vector solutions. Vectors Kinematics Study of motion Accelerated vs unaccelerated motion Translational vs Rotational motion Vector solutions required for problems of 2- directional motion Vector solutions Possible solution sets

More information

CSE 599d - Quantum Computing When Quantum Computers Fall Apart

CSE 599d - Quantum Computing When Quantum Computers Fall Apart CSE 599d - Quantum Comuting When Quantum Comuters Fall Aart Dave Bacon Deartment of Comuter Science & Engineering, University of Washington In this lecture we are going to begin discussing what haens to

More information

Chapter 1: PROBABILITY BASICS

Chapter 1: PROBABILITY BASICS Charles Boncelet, obability, Statistics, and Random Signals," Oxford University ess, 0. ISBN: 978-0-9-0005-0 Chater : PROBABILITY BASICS Sections. What Is obability?. Exeriments, Outcomes, and Events.

More information

PHY 1114: Physics I. Quick Question 1. Quick Question 2. Quick Question 3. Quick Question 4. Lecture 5: Motion in 2D

PHY 1114: Physics I. Quick Question 1. Quick Question 2. Quick Question 3. Quick Question 4. Lecture 5: Motion in 2D PHY 1114: Physics I Lecture 5: Motion in D Fall 01 Kenny L. Tapp Quick Question 1 A child throws a ball vertically upward at the school playground. Which one of the following quantities is (are) equal

More information

MATH 6210: SOLUTIONS TO PROBLEM SET #3

MATH 6210: SOLUTIONS TO PROBLEM SET #3 MATH 6210: SOLUTIONS TO PROBLEM SET #3 Rudin, Chater 4, Problem #3. The sace L (T) is searable since the trigonometric olynomials with comlex coefficients whose real and imaginary arts are rational form

More information

Relative Velocity. Exercise

Relative Velocity. Exercise PHYSICS 0 Lecture 06 Projectile Motion Tetbook Sections 4. Lecture 6 Purdue Universit, Phsics 0 1 Relative Velocit We often assume that our reference frame is attached to the Earth. What happen when the

More information

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density 8.785: Analytic Number Theory, MIT, sring 2007 (K.S. Kedlaya) Primes in arithmetic rogressions In this unit, we first rove Dirichlet s theorem on rimes in arithmetic rogressions. We then rove the rime

More information

Polar Coordinates; Vectors

Polar Coordinates; Vectors Polar Coordinates; Vectors Earth Scientists Use Fractals to Measure and Predict Natural Disasters Predicting the size, location, and timing of natural hazards is virtuall imossible, but now earth scientists

More information

2 Asymptotic density and Dirichlet density

2 Asymptotic density and Dirichlet density 8.785: Analytic Number Theory, MIT, sring 2007 (K.S. Kedlaya) Primes in arithmetic rogressions In this unit, we first rove Dirichlet s theorem on rimes in arithmetic rogressions. We then rove the rime

More information

Announcements. Unit 1 homework due tomorrow 11:59 PM Quiz 1 on 3:00P Unit 1. Units 2 & 3 homework sets due 11:59 PM

Announcements. Unit 1 homework due tomorrow 11:59 PM Quiz 1 on 3:00P Unit 1. Units 2 & 3 homework sets due 11:59 PM Announcements Unit 1 homework due tomorrow (Tuesday) @ 11:59 PM Quiz 1 on Wednesday @ 3:00P Unit 1 Ø First 12 minutes of class: be on time!!! Units 2 & 3 homework sets due Sunday @ 11:59 PM Ø Most homework

More information

Projectile Motion. v a = -9.8 m/s 2. Good practice problems in book: 3.23, 3.25, 3.27, 3.29, 3.31, 3.33, 3.43, 3.47, 3.51, 3.53, 3.

Projectile Motion. v a = -9.8 m/s 2. Good practice problems in book: 3.23, 3.25, 3.27, 3.29, 3.31, 3.33, 3.43, 3.47, 3.51, 3.53, 3. v a = -9.8 m/s 2 A projectile is anything experiencing free-fall, particularly in two dimensions. 3.23, 3.25, 3.27, 3.29, 3.31, 3.33, 3.43, 3.47, 3.51, 3.53, 3.55 Projectile Motion Good practice problems

More information

PHYS-2010: General Physics I Course Lecture Notes Section IV

PHYS-2010: General Physics I Course Lecture Notes Section IV PHYS-010: General Phsics I Course Lecture Notes Section IV Dr. Donald G. Luttermoser East Tennessee State Universit Edition.3 Abstract These class notes are designed for use of the instructor and students

More information

MATH 361: NUMBER THEORY EIGHTH LECTURE

MATH 361: NUMBER THEORY EIGHTH LECTURE MATH 361: NUMBER THEORY EIGHTH LECTURE 1. Quadratic Recirocity: Introduction Quadratic recirocity is the first result of modern number theory. Lagrange conjectured it in the late 1700 s, but it was first

More information

Chapter 4 MOTION IN TWO AND THREE DIMENSIONS

Chapter 4 MOTION IN TWO AND THREE DIMENSIONS Chapter 4 MTIN IN TW AND THREE DIMENSINS Section 4-5, 4-6 Projectile Motion Projectile Motion Analzed Important skills from this lecture: 1. Identif the projectile motion and its velocit and acceleration

More information

6 Stationary Distributions

6 Stationary Distributions 6 Stationary Distributions 6. Definition and Examles Definition 6.. Let {X n } be a Markov chain on S with transition robability matrix P. A distribution π on S is called stationary (or invariant) if π

More information

ATM The thermal wind Fall, 2016 Fovell

ATM The thermal wind Fall, 2016 Fovell ATM 316 - The thermal wind Fall, 2016 Fovell Reca and isobaric coordinates We have seen that for the synotic time and sace scales, the three leading terms in the horizontal equations of motion are du dt

More information

On the Field of a Stationary Charged Spherical Source

On the Field of a Stationary Charged Spherical Source Volume PRORESS IN PHYSICS Aril, 009 On the Field of a Stationary Charged Sherical Source Nikias Stavroulakis Solomou 35, 533 Chalandri, reece E-mail: nikias.stavroulakis@yahoo.fr The equations of gravitation

More information

216 S. Chandrasearan and I.C.F. Isen Our results dier from those of Sun [14] in two asects: we assume that comuted eigenvalues or singular values are

216 S. Chandrasearan and I.C.F. Isen Our results dier from those of Sun [14] in two asects: we assume that comuted eigenvalues or singular values are Numer. Math. 68: 215{223 (1994) Numerische Mathemati c Sringer-Verlag 1994 Electronic Edition Bacward errors for eigenvalue and singular value decomositions? S. Chandrasearan??, I.C.F. Isen??? Deartment

More information

AM 221: Advanced Optimization Spring Prof. Yaron Singer Lecture 6 February 12th, 2014

AM 221: Advanced Optimization Spring Prof. Yaron Singer Lecture 6 February 12th, 2014 AM 221: Advanced Otimization Sring 2014 Prof. Yaron Singer Lecture 6 February 12th, 2014 1 Overview In our revious lecture we exlored the concet of duality which is the cornerstone of Otimization Theory.

More information

jf 00 (x)j ds (x) = [1 + (f 0 (x)) 2 ] 3=2 (t) = jjr0 (t) r 00 (t)jj jjr 0 (t)jj 3

jf 00 (x)j ds (x) = [1 + (f 0 (x)) 2 ] 3=2 (t) = jjr0 (t) r 00 (t)jj jjr 0 (t)jj 3 M73Q Multivariable Calculus Fall 7 Review Problems for Exam The formulas in the box will be rovided on the exam. (s) dt jf (x)j ds (x) [ + (f (x)) ] 3 (t) jjt (t)jj jjr (t)jj (t) jjr (t) r (t)jj jjr (t)jj

More information

Physics Chapter 3 Notes. Section 3-1: Introduction to Vectors (pages 80-83)

Physics Chapter 3 Notes. Section 3-1: Introduction to Vectors (pages 80-83) Physics Chapter 3 Notes Section 3-1: Introduction to Vectors (pages 80-83) We can use vectors to indicate both the magnitude of a quantity, and the direction. Vectors are often used in 2- dimensional problems.

More information

EXERCISES Practice and Problem Solving

EXERCISES Practice and Problem Solving EXERCISES Practice and Problem Solving For more ractice, see Extra Practice. A Practice by Examle Examles 1 and (ages 71 and 71) Write each measure in. Exress the answer in terms of π and as a decimal

More information

Introduction to 2-Dimensional Motion

Introduction to 2-Dimensional Motion Introduction to 2-Dimensional Motion 2-Dimensional Motion! Definition: motion that occurs with both x and y components.! Example:! Playing pool.! Throwing a ball to another person.! Each dimension of the

More information

Feedback-error control

Feedback-error control Chater 4 Feedback-error control 4.1 Introduction This chater exlains the feedback-error (FBE) control scheme originally described by Kawato [, 87, 8]. FBE is a widely used neural network based controller

More information

The centripetal acceleration for a particle moving in a circle is a c = v 2 /r, where v is its speed and r is its instantaneous radius of rotation.

The centripetal acceleration for a particle moving in a circle is a c = v 2 /r, where v is its speed and r is its instantaneous radius of rotation. skiladæmi 1 Due: 11:59pm on Wednesday, September 9, 2015 You will receive no credit for items you complete after the assignment is due. Grading Policy Problem 3.04 The horizontal coordinates of a in a

More information

Lab 5: Two-Dimensional Motion. To understand the independence of motion in the x- and y- directions

Lab 5: Two-Dimensional Motion. To understand the independence of motion in the x- and y- directions Lab 5: Two-Dimensional Motion Objectives: To study two-dimensional motion To understand the vector nature of velocity To understand the independence of motion in the x- and y- directions Equipment: Ballistic

More information