How About Some PI? Trigonometry Feb 18,2009.

Slides:



Advertisements
Similar presentations
Lesson 13-1 Algebra Check Skills You’ll Need 13-4
Advertisements

Radian Measure. Many things can be measured using different units.
Review Loops – Condition – Index Functions – Definition – Call – Parameters – Return value.
B. RAMAMURTHY Simulating Motion and Implementing Animation.
Trigonometric Functions sine, cosine and tangent.
2-D Shapes, Color, and simple animation. 7 Basic Shapes Ellipse :: ellipse() Arc :: arc() Line :: line() Point :: point() Rectangle :: rect() Triangle.
Conversion of Radians and Degrees Degree Radian Radians Degrees Example 1Converting from Degrees to Radians [A] 60° [B] 30° Example 2Converting from Radians.
RADIAN THE UNIT CIRCLE. REMEMBER Find the circumference of a circle that has a radius of 1. C = 2πr C = 2π(1) C = 2π.
Arrays. An array is a collection “The Dinner offers an array of choices.” In computer programming, an array is a collection of variables of the same data.
Objects. The Heart of the Matter - The "Black Box" Object-oriented software is all about objects. An object is a "black box" which receives and sends.
Trigonometry Exact Value Memory Quiz A Trigonometry Exact Value Memory Quiz A.
LESSON 6-1: ANGLES & THE UNIT CIRCLE BASIC GRAPHING OBJECTIVE: CONVERT BETWEEN DEGREE AND RADIAN MEASURE, PLACE ANGLES IN STANDARD POSITION & IDENTIFY.
Test Review. General Info. All tests will be comprehensive. You will be tested more on your understanding of code as opposed to your ability to write.
Review of Angles. Acute Angle – Angle less than 90 degrees Right Angle – Angle that is exactly 90 degrees.
8-3 Trigonometry Part 2: Inverse Trigonometric Functions.
14.1 The Unit Circle Part 2. When measuring in radians, we are finding a distance ____ the circle. This is called. What is the distance around a circle?
Unit 3 Trigonometry Review Radian Measure Special Angles Unit Circle 1.
Trigonometry Review for AP Calculus AB Mr. Straight, Room 310.
Review of radian measure.
Numeric Functions Purpose:-
Some of Chap 17.
Section 4.2 The Unit Circle.
C2 TRIGONOMETRY.
The Trigonometric Functions
Introduction to Trigonometry
Chapter 14, Translate & Rotate
9.3B Notes: Angle conversions
Pre-Calc: 4.2: Trig functions: The unit circle
Trigonometry Ratios in Right Triangles
Do Now Find the value of each expression. Sin 60 ° Cos 30 ° Tan 270 °

Copyright © 2017, 2013, 2009 Pearson Education, Inc.
Radians & Arc Lengths Section 5.2.
All pupils can use radian measure in a variety of situations
Midterm Exam Would the following students please come to the board and share your methods of solving with solutions:
Dividing Fractions To divide fractions,
Radian Measure of a Central Angle
You will need a calculator and high lighter!
Measuring Angles in Radians
Sum and Difference Identities
Section 4.1: Angles and Their Measures
Trigonometric Equations with Multiple Angles
Unit Circle – Learning Outcomes
47.75⁰ Convert to radians: 230⁰.
Aim: How do we review concepts of trigonometry?
A Few Notes Starting August 29, 2018
Find sec 5π/4.
6.1 Angles and Radian Measure
Warm Up Write answers in reduced pi form.
Trigonometry Ratios in Right Triangles
Lesson The Unit Circle Objectives:
U8D8 pencil, highlighter, red pen, calculator, notebook Have out:
Arc Length Area of a Sector Unit Circle Trig values of unit circle
21. Sum and Difference Identities
Warmup The arms on a pair of tongs are each 8 inches long. They can open to an angle of up to 120°. What is the width of the largest object that can be.
Trigonometric Functions: Unit Circle Approach
15. Sum and Difference Identities
Trigonometry & Random March 2, 2010.
( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , )
Warm-Up Honors Algebra 2 4/18/18
EQ: Are there other ways to describe the location of a point in the plane other than by giving its x- and y- coordinates?
Unit 4: Circles and Volume
15. Sum and Difference Identities
Graphing: Sine and Cosine
Trigonometry for Angle
A circle with center at (0, 0) and radius 1 is called a unit circle.
3.4 Circular Functions.
Academy Algebra II THE UNIT CIRCLE.
L13. 1 and L13. 2 Obj 1: Students will find period and amplitude
What is the radian equivalent?
Presentation transcript:

How About Some PI? Trigonometry Feb 18,2009

Trigonometry

Angles and Waves Angles can be measured in degrees or radians Pi is the ratio of the circumference of a circle to its diameter Angles can be converted from degrees to radians with radians() Angles can be converted from radians to degrees with degrees()

Sine

Sine Wave in Processing Angles are specified in radians in sin() and cos() functions size(700, 100); noStroke(); fill(0); float angle = 0.0; for (int x = 0; x <= width; x += 5) { float y = height/2 + (sin(angle) * height/3); rect(x, y, 2, 4); angle += PI/20.0; }

Cosine too size(700, 100); noStroke(); fill(0); float angle = 0.0; for (int x = 0; x <= width; x += 5) { float y1 = height/2 + (sin(angle) * height/3); float y2 = height/2 + (cos(angle) * height/3); fill(255,0,0); rect(x, y1, 2, 4); fill(0,0,255); rect(x, y2, 2, 4); angle += PI/20.0; }

Animate It void setup() { size(700, 100); noStroke(); fill(0); } float angle = 0.0; void draw() { background(255); for (int x = 0; x <= width; x += 5) { float y1 = height/2 + (sin(angle) * height/3); float y2 = height/2 + (cos(angle) * height/3); fill(255,0,0); rect(x, y1, 2, 4); fill(0,0,255); rect(x, y2, 2, 4); angle += PI/20.0;

Animation 2 void setup() { size(700, 100); ellipseMode(CENTER); fill(0); } float angle = 0.0; float time = 0; float yPos = 0; void draw() { background(255); yPos = height/2 +(height/2.5)*sin(angle); ellipse(time, yPos, 20, 20); if (time>width) { time=0; time += 5; angle += PI/20.0;

The Last One void setup() { size(200,200); noStroke(); smooth(); } float radius = 1.0; int deg = 0; float increment=random(20); void draw() { float angle = radians(deg); float x = width/2 + (cos(angle) * radius); float y = height/2 + (sin(angle) * radius); ellipse(x, y, 6, 6); deg += 11; if(radius>width/2+1) { radius=0; increment=random(20); radius = radius + 0.34;

Lab Exercise Fill the canvas with a regular, repeating pattern that uses the sine function. Do the same with a cosine function.