Thinking out loud.

Slides:



Advertisements
Similar presentations
Teach GCSE Maths Speed.
Advertisements

A little Boolean Logic. IF loving you is wrong THEN I dont want to be right.
Thinking out loud. Traffic Scenario 1A 2B 2A 1B How would you set up the intersection? An exercise in Monday morning quarterbacking.
Intermediate Formulas & Functions Instructor: Rachel Baltus.
Case Study B2- Right Turn from Minor Road By : Doi Pham Mai Vu Anthony Tran.
Speed and Stopping Distances
CE 578 Highway Traffic Operations Lecture 4: HCM Directional Analysis.
CE 578 Highway Traffic Operations Lecture 4: HCM Directional Analysis.
What is a Flowchart? Why are they used? How to draw them.
Speed = Distance Time Distance = Speed x Time Time = Distance Speed 1.Find the distance travelled if going at 40mph for 2 hours 2.Find the average speed.
PROGRAMMING, ALGORITHMS AND FLOWCHARTS
Safety Belt All passengers must be belted & may be ticketed for violation of the law. Fitting: Lap belt should be worn across the hip bones. It should.
110-K1 Iterations (1) Up to now, need to call the procedure again (e.g. click again on a command button) To repeat a piece of code: Can also use loops:
A car stops at a set of traffic lights, then moves away by the formula: d=3t 2 Draw a table of time and distance for the six seconds after the car moves.
What have you analyzed about this intersection?
Texting and Driving Physics of Paying Attention Stopping Distance Reaction Time.
CS105 Fall CS105 Lab 3 – Excel: The IF Function Announcements MP 1 will be released on Monday 9/14, due Monday 9/28 by 9pm Midterm 1 on Tuesday 9/29.
GRAPHING SYSTEMS OF EQUATIONS Algebra 1: Unit 7. GRAPHING LINEAR EQUATIONS.
Logic Structures. If… else statements Meaning if the condition is true, execute this command. If the condition is false, execute the else command.
Geometric Design (I). Learning Objectives To understand the considerations and quantifiable aspects of geometric design.
Computer Science: A Structured Programming Approach Using C1 5-2 Two-Way Selection The decision is described to the computer as a conditional statement.
Computer Science: A Structured Programming Approach Using C1 5-2 Two-Way Selection The decision is described to the computer as a conditional statement.
Motion Equations. Derived Equations Some useful equations can be derived from the definitions of velocity and acceleration.
Flowcharts
Name chapter 10 Add picture. Topics covered in chapter 10 Overview chapter 124 To assist injured 1slide To enforce the law 1 slide Collection of data.
The solutions for an equation are also referred to as the roots of the equation. The roots of an equation are related to the zeros of the related function.
Section 4.1 Systems of Linear Equations in Two Variables.
Writing Algebraic Expressions SWBAT write an algebraic expression from a written expression.
Topics: Selection Statements. Processing Involving Selecting Instructions An instruction that allows deviation and selection to take place uses the ‘IF’
CSI 3125, Preliminaries, page 1 Control Statements.
Lesson thirteen Conditional Statement "if- else" ©
Objectives: Be able to identify quadratic functions and graphs Be able to model data with a quadratic functions in the calculator.
White Box Testing by : Andika Bayu H.
Chapter 2 Excel Fundamentals Logical IF (Decision) Statements Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Kinematic Equations with Constant Acceleration If an object moves with constant acceleration, we can use four kinematic equations Some Assumptions and.
CIS 100 Test #2 Review 1. EXCEL Functions on Test  SUM, COUNT, COUNTA, MAX, MIN, MEDIAN, MODE, AVERAGE, ROUND, and IF  Possibly Others 
Average and Instantaneous Velocity. Average or Instantaneous? Instantaneous velocity : the velocity of a moving object at one specific moment. Average.
 State whether or not the given statements are true or false. If true, give two examples using real numbers to show. If false, provide one counterexample.
2( ) 8x + 14y = 4 -12x – 14y = x = x = 4 8x + 14y = 4 8(4) + 14y = y = y = -28 ___ ___ y = -2 The solution is (4, -2)
+ Week 7 10 th grade science. + Must Do Consider the following statement by a student “ Δ x/ Δ t gives the velocity for an interval. To find the velocity.
Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc.
ANALYSIS AND ALGORITHM DESIGN - III
Sorting Algorithms.
X AND R CHART EXAMPLE IN-CLASS EXERCISE
Flow Charts What are they good for?.
Control Structures.
قانون المنافسة ومنع الاحتكار
The 3-Way Light Switch and The If-And-Only-If Statement
Linear Equations Lesson 2.3.
In the following slides, you will see
Program Flow Control Selection & repetition
Solving Rational Equations by
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Traffic Safety.
IF Statements.
Visual Basic – Decision Statements
Chapter 5: Control Structure
Law Enforcement Road Safety
MOT Training for Incident Responders in Florida
Repetitious operations
Statements joined by “And” (Conjunctions)
Section 3.7 Switching Circuits
Program Flow.
Solving Rational Equations by
Traffic Light Simulation
Section 5.4 Day 1 Algebra 1.
Calculate 81 ÷ 3 = 27 3 x 3 x 3 3 x 3 x 3 x 3 ÷ 3 = This could be written as
Shadows CSE 681.
Transportation Engineering Calculating Signal Delay February 23, 2011
Definition: Characteristics Examples Additional Notes: Draw Examples:
Presentation transcript:

Thinking out loud

Traffic Scenario 1A 2B 2A 1B

How would you set up the intersection? An exercise in Monday morning quarterbacking

Basic Model Traffic Lane Max Length of Light Minimum Length of Light Time for car to clear intersection # Of Cars Time Needed Time Given (s) # Of Cars Leftover Lane 1A Lane 1B Lane 2A Lane 2B

IF loving you is wrong THEN I don’t want to be right

IF-THEN Statements If, Then, Else (a.k.a. Otherwise) What is your procedure? In excel this is written as : IF(Condition, True Value, False Value)

Sample Problem 1 If a driver is going over 65 mph a speeding ticket should be issued.

Sample Problem 1 Speed > 65 Yes No Issue Ticket No Ticket

Sample Problem 1 Speed Caught Traveling Action To Be Taken 65 Issue Ticket 55 No Ticket Speed Caught Traveling Action To Be Taken 65 =IF(A11<65,"No Ticket","Issue Ticket") 55 =IF(A12<65,"No Ticket","Issue Ticket")

Nested IF-THEN Statements What if you have a second condition? IF(Cond, True ,IF(Cond, True, False))

Sample Problem 2 If a driver is going over 65 mph or under 45 mph a speeding ticket should be issued.

Sample Problem 2 Speed < 40 Yes No Issue Ticket Speed > 65 Yes No Ticket

Nested IF-THEN Statements Speed 65 =IF(A11>64,"Ticket",IF(A11<40,"Ticket","No Ticket")) 14 =IF(A12>64,"Ticket",IF(A12<40,"Ticket","No Ticket")) 55 =IF(A13>64,"Ticket",IF(A13<40,"Ticket","No Ticket")) Speed 65 Ticket 14 55 No Ticket

Basic Model Traffic Lane Max Length of Light Minimum Length of Light Time for car to clear intersection # Of Cars Time Needed Time Given (s) # Of Cars Leftover Lane 1A Lane 1B Lane 2A Lane 2B

Directions Break the problem into steps and verbalize what you want to do with your partner. Draw a flow chart that outlines your solution Add columns to your spread sheet and perform to perform the necessary calculations in stages