Trigonometry and Applications References: xyz. Motivation Our character movements so far: Other types of movement:

Slides:



Advertisements
Similar presentations
Polar Coordinates We Live on a Sphere.
Advertisements

Pre-Calculus Chapter 6 Additional Topics in Trigonometry.
Trigonometric Functions
Angles and Degree Measure
Honors Geometry Section 10.3 Trigonometry on the Unit Circle
Warm Up Find the measure of the supplement for each given angle °2. 120° °4. 95° 30°60° 45° 85°
Polar Coordinate System 11.3 – Polar Coordinates Used to plot and analyze equations of conics (circles, parabolas, ellipses, and hyperbolas. Another method.
The Unit Circle.
Angles and Arcs in the Unit Circle Radian and Degree Measure In this section, we will study the following topics: Terminology used to describe.
REFERENCES: Trigonometry and Applications.
Drill Calculate:.
Math 112 Elementary Functions Section 4 Polar Coordinates and Graphs Chapter 7 – Applications of Trigonometry.
Angles and Their Measure Section Angles Vertex Initial Side Terminal Side.
Copyright © 2005 Pearson Education, Inc. Chapter 3 Radian Measure and Circular Functions.
4.1 Radian and Degree Measure. Objective To use degree and radian measure.
Radians and Degrees Trigonometry MATH 103 S. Rook.
4.1: Radian and Degree Measure Objectives: To use radian measure of an angle To convert angle measures back and forth between radians and degrees To find.
13.3 – Radian Measures. Radian Measure Find the circumference of a circle with the given radius or diameter. Round your answer to the nearest tenth. 1.radius.
Section 11.3 Polar Coordinates.
Polar Coordinates a different system of plotting points and coordinates than rectangular (x, y) it is based on the ordered pair (r, θ), where r is the.
13-3: Radian Measure Radian Measure There are 360º in a circle The circumference of a circle = 2r. So if the radius of a circle were 1, then there a.
Maths Methods Trigonometric equations K McMullen 2012.
Copyright  2011 Pearson Canada Inc. Trigonometry T - 1.
Warm up for 8.5 Compare the ratios sin A and cos B Compare the ratios sec A and csc B Compare the ratios tan A and cot B pg 618.
Locating Points on a Circle Sine Cosine Tangent. Coordinates Systems Review There are 3 types of coordinate systems which we will use: Absolute Incremental.
TRIGONOMETRY Trigonometry
Angles and Their Measure Section 4.1 Objectives I can label the unit circle for radian angles I can draw and angle showing correct rotation in Standard.
Grade 12 Trigonometry Trig Definitions. Radian Measure Recall, in the trigonometry powerpoint, I said that Rad is Bad. We will finally learn what a Radian.
1. MORE TRIG (AND BASIC VECTORS) 2. INHERITANCE (CHAPTER 9) Lecture 10 (Last one!)
Trigonometry Day 1 ( Covers Topics in 4.1) 5 Notecards
Introduction to Unit Circle Trigonometry 1. The Unit Circle on the Coordinate Plane (1,0) (0,1) (-1,0) (0, -1) Quadrant I X – Pos Y - Pos X Y Radius =
Trigonometry The science of studying angle measure.
Introduction to Trigonometry Angles and Radians (MA3A2): Define an understand angles measured in degrees and radians.
The Coordinate Plane The coordinate plane is formed when two number lines (called axis) intersect at right angles. The horizontal axis is called the x-axis.
Introduction to Trig Unit Unit Circle And Radians.
MATH 31 LESSONS Chapters 6 & 7: Trigonometry
Math9 project-ABC Book by: Jeffrey May Teacher: Mrs. burton.
13-3 Radian Measure Today’s Objective: I can measure an angle in radians.
Terms to know going forward Angle: 2 rays an initial side and a terminal side. Initial side Terminal side Positive angle goes counter clockwise. Negative.
Section 7-1 Measurement of Angles. Trigonometry The word trigonometry comes two Greek words, trigon and metron, meaning “triangle measurement.”
4.3 Trigonometry Extended: The Circular Functions
Radian and Degree Measure. Radian Measure A radian is the measure of a central angle that intercepts an arc length equal to the radius of the circle Radians.
How do we convert angle measures between degrees and radians?
Chapter 4-1: Measures of Angles as Rotations. Review… Angle: The union of two rays which are its sides with the same vertex or endpoint. Angle: The rotation.
7.1 Measurement of Angles -If you leave this class with anything this year, it will be a better understanding of sine/cosine/tangent and angle measurments.
1) Trig form of a Complex # 2) Multiplying, Dividing, and powers (DeMoivre’s Theorem) of Complex #s 3) Roots of Complex #s Section 6-5 Day 1, 2 &3.
Chapter 4 Trigonometric Functions Copyright © 2014, 2010, 2007 Pearson Education, Inc Angles and Radian Measure.
Ch 14 Trigonometry!!. Ch 14 Trigonometry!! 14.1 The unit circle Circumference Arc length Central angle In Geometry, our definition of an angle was the.
Holt McDougal Algebra Angles of Rotation Warm Up Find the measure of the supplement for each given angle. Think back to Geometry… °2. 120°
MATH 1330 Section 4.3 Trigonometric Functions of Angles.
Notes 10.7 – Polar Coordinates Rectangular Grid (Cartesian Coordinates) Polar Grid (Polar Coordinates) Origin Pole Positive X-axis Polar axis There is.
Introduction to Trigonometry Angles and Radians (MA3A2): Define an understand angles measured in degrees and radians.
Trigonometry Section 7.1 Find measures of angles and coterminal angle in degrees and radians Trigonometry means “triangle measurement”. There are two types.
13.2 General Angles and Radian Measure. 1. I want the exact value (not the decimal value from the calculator) 1. I want the exact value (not the decimal.
Trigonometry and Applications References: xyz. Motivation Our character movements so far: Other types of movement:
Trigonometry 5.1 Radian & Degree Measure. Trigonometry Vocabulary 1.) A Greek letter that is used when labeling angles in trigonometry ( α ) alpha 2A.)
Trigonometry and Applications References: xyz. Review (?) from ETGG1801 Angles – As a measure of rotation and/or orientation – Radians & Degrees (and.
REFERENCES: Trigonometry and Applications.
Angles and Their Measure Section 4.1 Objectives I can label the unit circle for radian angles I can determine what quadrant an angle is in I can draw.
Section 4.4 Trigonometric Functions of Any Angle.
Holt McDougal Algebra The Unit Circle Toolbox p. 947(1-34) 13.3a 13.3b radian degrees unit circle.
Week 8 Day 2. WEEK 8 Day 1 Page INTEGRAL EXPONENTS page 278 In Chapter 1, the laws of exponents were discussed in terms of positive exponents.
Before we begin our investigation of a radian let us first establish a definition of an angle and review some important concepts from geometry. What is.
Chapter 7: Trigonometric Functions Section 7.1: Measurement of Angles.
Warm Up Find the measure of the supplement for each given angle.
MATH 1330 Section 4.3.
ANGLE MEASURES PREACALCULUS LESSON 2 – 1.
Trigonometry Extended: The Circular Functions
Section 4.3 Trigonometric Functions of Angles
MATH 1330 Section 4.3.
Presentation transcript:

Trigonometry and Applications References: xyz

Motivation Our character movements so far: Other types of movement:

The "new" type of movement Move n pixels (a distance) in this direction How do we represent a direction? – In 2d…an angle.

Angles (2D) Two common systems: Degrees Radians By convention, 0 (degrees / radians) is to the right. A measure of rotation: Negative is clockwise (by convention) Positive is counter-clockwise (by convention) Also a description of orientation: How much we've rotate from the 0 (right) position

Angles (2D) Degrees

Angles (2D) degrees, cont. The number 360 is sort-of arbitrary – Evenly divisible by a lot of numbers – Loosely based on #days/yr In the radians system, the number has a physical meaning…

Angles (2D) radians What is π? – Common answer: … – But what does it represent??? Definition of π… Circumference = 6.283" Diameter = 2" Circumference = 1.57" Diameter = 0.5"

Angles (2D) radians, cont.

Radian angles are the (partial) distance, d, around a circle divided by the radius, r. r d

Angles (2D) radians, cont. 0 π

Conversions

Conversions, cont. …Or just use the math functions. – math.radians(num) Converts num (assumed to be in degrees) to radians – math.degrees(num) Converts num (assumed to be in radians) to degrees Caution: – If you see the number 45.0 in your code, is it in radians or degrees? You can't tell – neither can python. – Comments are very important!

Cartesian coordinates What we've been using so far. – Origin – Axes (for 2d, 2 of them: conventionally x and y) – Coordinates define an offset (e.g. (5,2)) Origin +x +y 5 2

Polar coordinates A new way to specify an offset. – Origin – A "reference" direction (conventionally right) – Coordinates define an offset. Now, they are: A direction (an angle) A distance to move in that direction Example: (5.3852, 21.8 ◦ ) – Note: This offset and the Cartesian offset look (are) the same, but they are totally different coordinates Origin ◦ Reference direction

Polar / Cartesian coordinates So… – (5,2) in Cartesian coordinates and – (5.3852, 21.8 ◦ ) in Polar coordinates Represent the same offset! – The first is useful for "Pacman-style" offsets – The second is useful for "Asteroids-style" offsets Problem: Pygame only uses Cartesian coordinates Solution: We need a way to convert – Initially from Polar=>Cartesian – We'll see later that Cartesian=>Polar has uses too.

Polar => Cartesian conversion CartesianCoordinates Angle (degrees)xy ?? Initial assumption: distance is 1.0 CartesianCoordinates Angle (degrees)xy

Trig to the rescue! θ A O H

Trig functions θ A O H H is the distance we want to move forward A is the amount to add to our x-position O is the amount to add to our y-position (note pygame's y axis) (A,O) is the Cartesian equivalent of (H, θ) in polar coordinate. A=H*cos( θ) O=H*sin( θ)

“Negative Distances” Technically, a distance can’t be negative. Sometimes, it is useful, though, to indicate direction… o β ≈ 130 degrees. Cos(130) ≈ o represents a distance of 0.64 to the left of the origin. o Internally, math.cos calculates cos(50) (which is +0.64) and negates it because 130 degrees is pointing “left” β 0.64

Example [Moving object, firing projectiles] – [Add a "rotate-able" object] [Pygame transform functions (used in next section]

Cartesian => Polar coordinates Motivation: – Control orientation with the mouse. Previously we knew H and θ; We want to calculate Δx and Δy – Δx is the amount to change our x-position. – Δy is the amount to change our y-position. Now, however, want to calculate θ X rotSurf = pygame.transform.rotate( origSurf, degrees)

Cartesian => Polar, cont. θ A O H X We know initially: The position of the plane (x, y) The position of the mouse (mx, my) We want to calculate: The angle θ First step: We can calculate A and O below using our givens: A = mx – x O = my - y Note: it does make a difference which order you do the sub. Think of both as directions negative = left. positive = right. Similar for O

Example Cartesian => Polar  Givens:  Plane at (50, 150)  Target at (200, 500)  (using "normal" y-axis)  Step1: Calculate offsets towards target  Step2: Calculate hypotenuse length  Step3: Calculate theta = = +350 (50,150) (200,500)

Cartesian => Polar, Problem with asin ( and acos ) θ = = +350 (50,150) (200,500) φ (-100)-50 = = +350 (50,150) (-100,500) WRONG! φ should be ≈ 113 degrees Asin ignores the sign of the horizontal direction.

Cartesian=>Polar, problem with atan.

Cartesian => Polar

Conversions finished

Example [Making object point towards a point] [Making a “rotate-able” object]