Function Problems. Write Functions Asks users whether the user wants to continue of not, then returns the answer. Takes two integers and returns 1 if.

Slides:



Advertisements
Similar presentations
Objective - To graph linear equations using the slope and y-intercept.
Advertisements

Writing Linear Equations Using Slope Intercept Form
2.4 Writing the Equation of a Line
The equation of a line - Equation of a line - Slope - Y intercept
2.4 Write Equations of Lines
Lesson 5.1 Write Equations in Slope-Intercept Form.
4.7 Graphing Lines Using Slope Intercept Form
Jeopardy Get the Points Intercept That Slope It’s Standard Understanding Slope Graph It $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final Jeopardy.
Find slope and y-intercept given an equation in standard form. 5.5 day 2 3x - 6y = 12.
Objective The student will be able to: 1) write equations using slope-intercept form. 2) identify slope and y-intercept from an equation. 3) write equations.
11.6 The Slope Intercept Form
Slope and Linear Equations
Bellwork Find the slope of the line containing the points (-1,12) and (5,-6). Find the product of the slope and y-intercept for the line y=-5x+7. Write.
Write an equation given the slope and y-intercept EXAMPLE 1 Write an equation of the line shown.
Writing Linear Equation using slope-intercept form.
EXAMPLE 3 Write an equation of a line given two points
Aim: Converting linear equations into Slope- Intercept Form Do Now: 1) Define Slope 2) Define y-intercept It’s easier than you think…
Write an equation given two points
2-4: Writing Linear Equations Using Slope Intercept Form.
Slope – Intercept Form y = mx + b m represents the slope b represents the y-intercept.
Writing Equations of Lines. Do Now: Answer each of the following questions based on the graph 1.What is the slope of the line? 2.What is the y-intercept?
Goal: Write a linear equation..  1. Given the equation of the line 2x – 5y = 15, solve the equation for y and identify the slope of the line.  2. What.
Mr. Huynh.  A linear equation can contain many parts such as this one: y = 2 x + 6. What does this all mean? To break it down, we must look at the initial.
Write Linear Equations in Slope- Intercept Form (Part 2) Big Idea: Verify that a point lies on a line. Derive linear equations.
Lecture 161 Unit 2 Lecture 16 Slope Slope. Lecture 162 Objectives Given two points, calculate the slope of the line through those two pointsGiven two.
Lesson 2: The Equation of a Line The Equation of a Line is: y = mx + b Where m is the slope And b is the y-intercept.
Writing an Equation Using Two Points Goal: to write an equation of a line, in slope intercept form, that passes through two points.
Lesson 5.6 Point-Slope Form of the Equation of a Line.
5.1 Writing Equations in Slope Intercept Form DO NOW: 1) Identify the Slope and Y-INT: y = -3x + 5 2)Find the slope: (-2, 3) and (4, -1) 3) Which point.
5-3 Slope Intercept Form A y-intercept of a graph is the y-coordinate of a point where the graph crosses the y-axis. *Use can use the slope and y-intercept.
Objective You will be able to: 1) write equations using slope-intercept form. 2) identify slope and y-intercept from an equation. 3) write equations in.
Chapter 5 Test Review White Board Practice 1- point extra credit for every correct answer!
Determine whether (2, 4) is a solution for y= 5x-6.
Find the x and y intercepts of each graph. Then write the equation of the line. x-intercept: y-intercept: Slope: Equation:
Objective Write equations in slope-intercept form. Identify slope and y-intercept from an equation. 3.2 Slope-Intercept Form of a Linear Equation.
X and Y Intercepts.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade 5th Grade Equations 5th Grade 5th Grade Equations 5th Grade 5th Grade Equations 4th Grade 4th.
Unit 3 Part 2 Writing Equations Ax + By = C (standard form) y = mx + b (slope – intercept form)
Graphing Lines Section 4.6.
Point slope form of an equation Y - y₁ = m(X- x₁) (x₁, y₁) An ordered pair on the line m slope.
Point slope form of an equation Y - y₁ = m(X- x₁) (x₁, y₁) An ordered pair on the line m slope.
EXAMPLE 1 Identify slope and y-intercept Identify the slope and y- intercept of the line with the given equation. y = 3x x + y = 22. SOLUTION The.
4.3 – Writing Equations in Point Slope Form. Ex. 1 Write the point-slope form of an equation for a line that passes through (-1,5) with slope -3.
WRITING EQUATIONS IN SLOPE INTERCEPT FORM 4.2. What you need… ■In order to write an equation in slope intercept form you need to know 2 things: ■ y =
SLOPE INTERCEPT FORM Y = MX +B SLOPE INTERCEPT FORM WHAT IS THE SLOPE INTERCEPT FORM? Y = MX +B a) M STANDS FOR THE SLOPE (RISE OVER RUN) b) B STANDS.
Slope Intercept. Slope – Intercept Form y = mx + b *m represents the slope *b represents the y-intercept (where your line will cross over the y-axis)
THE EQUATION OF A LINE By: Mr. F. A. Ogrimen Jr..
Write Linear Equations in Point- Slope Form Section 4.3 beginning on page 242.
Algebra 1 ~ Sections 5-4 & 5-5 & Standard Form Writing Equations of Lines in Point-Slope Form, Slope-Intercept Form, and Standard Form.
Writing Linear Equations
Lesson 5.6 Point-Slope Form of the Equation of a Line
Equations of straight lines
Chapter 1: Lesson 1.3 Slope-Intercept Form of a Line
2.4 Writing the Equation of a Line
Objective The student will be able to:
2.4 Writing the Equation of a Line
8/29/12 Writing the Equation of a Line
4.5 The Point-Slope Form of an Equation of a Line
Objective: To write linear equations given two points
Write Equations of Lines
Write the equation of the line.
2-4: Writing Linear Equations Using Slope Intercept Form
Write and graph lines in point-slope form and standard form
Experiment 1 Data Submission
Slope-intercept Form of Equations of Straight Lines
Warm-Up 5.1
2.4 Writing the Equation of a Line
ALGEBRA I - REVIEW FOR TEST 2-1
Point-Slope Form y – y1 = m(x – x1)
1.8 Consecutive Integers Notes on Handout.
Presentation transcript:

Function Problems

Write Functions Asks users whether the user wants to continue of not, then returns the answer. Takes two integers and returns 1 if 1 st integer is divisible by 2 nd integer, return 0 if not divisible. Finds the factorial of a given number Given two integers, finds the 1 st integer to the power of the second integer

Write a program Using the functions for factorial and power to calculate the equation below:

Write Functions Given two numbers, returns 1 if 1 st number is greater than 2 nd number, 0 other wise Given two numbers, returns the greater number Given two numbers, prints the greater number Given three numbers, returns the greatest number

Write Functions Asks users to enter ten quiz grades, and returns the sum Takes midterm (30%), lab (30%), and final (40%) grades and returns the semester end grade Takes a numeric grade and returns the letter grade (A > 90, B > 80, C > 70, D > 60, and F)

Write Functions Takes two points and returns the slope Takes slope and a point and returns the y- intercept Write a program that asks the user to enter two points (x1, y1) and (x2, y2) then prints the formula for the line passing through these two points y = mx + a where m is the slope and a is the y-intercept