PYTHON PROGRAMMING Week 6 - Tuesday. WHAT’S AN ALGORITHM? https://www.youtube.com/watch?v=6hfOvs8pY1k.

Slides:



Advertisements
Similar presentations
Graph: x + y = 5 1. Solve for y. 2. Make an X|Y chart. 3. Graph.
Advertisements

WELCOME TO ALGEBRA 2/TRIGONOMETRY Mr. Turner Room 624.
Algebra Recap Solve the following equations (i) 3x + 7 = x (ii) 3x + 1 = 5x – 13 (iii) 3(5x – 2) = 4(3x + 6) (iv) 3(2x + 1) = 2x + 11 (v) 2(x + 2)
Solving Equations = 4x – 5(6x – 10) -132 = 4x – 30x = -26x = -26x 7 = x.
Chapter 6 – Polynomials and Polynomial Functions
Faculty of Sciences and Social Sciences HOPE Java: Loops within loops Stewart Blakeway FML 213
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 3P. 1Winter Quarter Structured Engineering.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 3P. 1Winter Quarter Structured Engineering.
PYTHON PROGRAMMING Week 9 - Wednesday. WRITE A PROGRAM TO:  print all the numbers from 1 to 100  print all the even numbers from 1 to 100  print all.
13-1 Introduction to Quadratic Equations  CA Standards 14.0 and 21.0  Quadratic Equations in Standard Form.
TODAY IN ALGEBRA…  Warm up: Find products of special polynomials  Learning Target: 9.4 You will solve polynomial equations in factored form  Independent.
9.4 – Solving Quadratic Equations By Completing The Square
PYTHON PROGRAMMING Week 10 – Wednesday. TERMS – CHAPTER 1 Write down definitions for these terms:  Computation  Computability  Computing  Artificial.
PYTHON PROGRAMMING Week 8 - Wednesday. WHAT DO THESE DO? for x in range(5): print x for x in range(1,5): print x for x in range(1,5): print x**2 numbers.
PYTHON PROGRAMMING Week 14 – Tuesday. STARTER You need to find out the average of a set of exam marks for a class. You don’t know how many marks there.
TODAY IN ALGEBRA 2.0…  REVIEW: 7.5 Expand and Condense LOGs  COMPLETE: HW #6  Learning Target: 7.6 You will solve exponential equations by changing.
Solve Exponential and Logarithmic Equations Lesson 7.6 Algebra II.
TUESDAY AUGUST 21 ST  One-Step Review  Two-Step Review.
WEEK 1. ( a time for more computations ) MATH 070.
PYTHON PROGRAMING Week 15 – Tuesday.
Objective: 6.4 Factoring and Solving Polynomial Equations 1 5 Minute Check  Simplify the expression
Lesson 10.5 Factoring Objective: To factor a quadratic trinomial of the form Factoring a trinomial is the opposite of multiplying two binomials. Example:
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 3P. 1Winter Quarter Structured Engineering Problem Solving and Logic.
Solving Quadratic Equations – Comparing and Contrasting Methods April 21, 2015.
TODAY IN ALGEBRA 2.0…  Warm Up: Multiplying Rational Functions  Complete HW #3  Learning Target 1: 8.4 continued…You will DIVIDE Rational Functions.
Algebra Foundations Mrs. O’Farrell. In this course, we will cover the following topics: Whole Numbers and Patterns Decimals Fractions and Operations with.
WEDNESDAY AUGUST 22 ND CLASSWORK CHECK  Take out both worksheets from this week  Two Step Equations Worksheet  3.3 Exercises Worksheet  NO CALCULATORS,
Quadratic Relations Solving Quadratic Equations Day 3: Solve by Factoring Tuesday, January 05, 20161Day 2 - Solve by Factoring.
PYTHON PROGRAMMING Week 12 – Tuesday. STARTER What is a flowchart? Do you know any of the symbols used in a flowchart and what they mean?
Solving Quadratic Equations by Factoring. The quadratic equation is written in the form ax 2 + bx + c = 0 To solve quadratic equations by factoring we.
Chapter 6 – Polynomials and Polynomial Functions 6.6 –Polynomials of Greater Degree.
Quadratic Relations Solving Quadratic Equations Day 4: Solve by Quadratic Formula Monday, January 25, 20161Day 4 - Solve by Quadratic Formula.
Solve Equations with Rational Coefficients. 1.2x = 36 Check your answer = x Check 1.2x = (30) = 36 ? 36 = 36 ? 120 = -0.24y
TODAY IN ALGEBRA 2.0…  REVIEW: Solving Exponential Equations  Learning Target 1: 7.6 You will solve exponential equations by using logarithms  Independent.
Solving Quadratic Equations Using the Quadratic Formula Part 2.
PYTHON PROGRAMMING Week 5 - Tuesday. THE FRIENDSHIP ALGORITHM Note the infinite loop!
March 16, 2015 What are we doing today? Review One-Step Equations - HW – One-Step Equations Worksheet Due: End of Period Target To review one-step equations.
Quadratic and Rational Inequalities
Honors Algebra II Please take out your homework and check on your solution sheet 1-46 to 1-52 and methods and meanings for section Please record.
Elimination Method Day 2 Today’s Objective: I can solve a system using elimination.
Warm Up 04/01 Practice CRCT Problem: Solve the following system of equations using the substitution method: 2x − 3y = − 1 y = x − 1.
PYTHON PROGRAMMING Week 4 - Wednesday. x = 1 while True: print "Too infinity and beyond! " + str(x) x +=1.
PYTHON PROGRAMMING Week 8 - Wednesday. STARTER Fizz Buzz  Let play the game!
Algebra II Please take out last night’s homework assignment 3-66, 3-68, 3-69 Please record tonight’s homework on your pink assignment chart Study for quiz.
Algebra 2 Monday Warm-Ups Check in and discuss A#6.5 Discussion/Notes/Guided Practice Section 6.6 Solving Polynomial Equations Assignment A#6.6.
PYTHON PROGRAMMING Week 3 - Tuesday. STARTER Hour of Code Video.
Tuesday, June 4, 2013 Do Now : Evaluate when x = 6, y = -2 and z = 3.
PYTHON PROGRAMMING Week 5 - Wednesday. THE FRIENDSHIP ALGORITHM Note the infinite loop!
MATH II – QUADRATICS to solve quadratic equations. MATH III – MATH II –
PYTHON PROGRAMMING Week 10 - Tuesday. GLOSSARY PROGRAM  Have a look at the program  Print it out.
Entry Task   by.
Solving Quadratic Equations by the Complete the Square Method
ITS 2104 Enthusiastic Studysnaptutorial.com
PRG 211Competitive Success/snaptutorial.com
PRG 211 Education for Service-- snaptutorial.com
I CAN solve equations using the Quadratic Formula. lesson 9.4a.
Class Notes 11.2 The Quadratic Formula.
The Quadratic Formula.
Warm ups What is the quadratic formula?
Solving Quadratic Equations
Solving simultaneous linear and quadratic equations
Two Types of Factorising
Solving Equations with Variables on Both Sides
Solving Equations with Variables on Both Sides
Objective: Solve quadratics by factoring.
Using the Discriminant and writing quadratic equations
Notes Over Using Radicals
Homework, red pen, pencil, assignment sheet, highlighter, module
Solve Quadratic Equations by the Quadratic Formula
Presentation transcript:

PYTHON PROGRAMMING Week 6 - Tuesday

WHAT’S AN ALGORITHM?

LAST WEEK Functions  Defining functions  Parameters  Why bother? Algorithms  Designing algorithms  Stepwise refinement

REMINDERS Pen portraits – Bradley, Malik Update targets based on assignment and check existing targets  John to go through targets individually Elvis – set up on Edmodo Bradley – assignment 1 MT2 – Cris, Bethany

TODAY Algorithms  Solve problems using top down development and stepwise refinement Python  Writing functions with and without parameters  Calling functions with arguments  Some library/built in functions

ALGORITHM – LARGEST OF THREE NUMBERS From homework: Find and display the largest of three numbers entered through the keyboard. Solve this using the four major steps method. (Taken from textbook p. 22) Class activity – get an algorithm on the IWB we are ALL happy with! Now write the program….

ALGORITHM DESIGN Top down design – hierarchy chart for quadratic equation solver  Activity – Topic 1.2 Stepwise refinement  Activity – sum and average

PRACTICAL Codecademy:  Functions Plus  Exercises  Challenges

RECAP What is top down design? What is stepwise refinement? What are the four major steps used in computer based problem solving? What is the difference between and argument and a parameter.

TOMORROW More on algorithms Functions – practice Assignment 2

HOMEWORK Read through Topic 1.2 and make some notes