QuadraticEquation class. Background A quadratic equation is a second-order polynomial equation in a single variable x, ax 2 + bx + c = 0 (with a≠0.)

Slides:



Advertisements
Similar presentations
10-6 Solving Quadratic Equations by Factoring
Advertisements

10-7 The Quadratic Formula
solution If a quadratic equation is in the form ax 2 + c = 0, no bx term, then it is easier to solve the equation by finding the square roots. Solve.
The Quadratic Formula by Zach Barr Simulation Online.
EXAMPLE 4 Choose a solution method Tell what method you would use to solve the quadratic equation. Explain your choice(s). a. 10x 2 – 7 = 0 SOLUTION a.
Solving Quadratic Equations by Completing the Square
3.5 Quadratic Equations OBJ:To solve a quadratic equation by factoring.
Section 10.5 – Page 506 Objectives Use the quadratic formula to find solutions to quadratic equations. Use the quadratic formula to find the zeros of a.
OBJ: To solve a quadratic equation by factoring
Solving Quadratic Equations Using Completing the Square and the Quadratic Formula.
Goals: To solve quadratic equations by using the Quadratic Formula.
Solving Quadratic Equations by Factoring. Solution by factoring Example 1 Find the roots of each quadratic by factoring. factoring a) x² − 3x + 2 b) x².
The Quadratic Formula. What does the Quadratic Formula Do ? The Quadratic formula allows you to find the roots of a quadratic equation (if they exist)
The Rational Root Theorem The Rational Root Theorem gives us a tool to predict the Values of Rational Roots:
Solving Quadratic Equations by Factoring MATH 018 Combined Algebra S. Rook.
Splash Screen. Concept Example 1 Sum and Difference of Cubes A. Factor the polynomial x 3 – 400. If the polynomial cannot be factored, write prime. Answer:The.
Factor: Factor: 1. s 2 r 2 – 4s 4 1. s 2 r 2 – 4s b b 3 c + 18b 2 c b b 3 c + 18b 2 c 2 3. xy + 3x – 2y xy + 3x – 2y -
Quadratics Solving equations Using “Completing the Square”
Copyright © 2014, 2010, 2007 Pearson Education, Inc. 1 1 Chapter 9 Quadratic Equations and Functions.
Solving Quadratic Equations – Part 1 Methods for solving quadratic equations : 1. Taking the square root of both sides ( simple equations ) 2. Factoring.
Essential Question: How do you use the quadratic formula and the discriminant? Students will write a summary including the steps for using the quadratic.
10.6 Using the Quadratic Formula – Quadratic Formula Goals / “I can…”  Use the quadratic formula when solving quadratic equations  Choose an appropriate.
Pre-Calculus Section 1.5 Equations Objectives: To solve quadratics by factoring, completing the square, and using the quadratic formula. To use the discriminant.
Chapter 10.7 Notes: Solve Quadratic Equations by the Quadratic Formula Goal: You will solve quadratic equations by using the Quadratic Formula.
2.6 Solving Quadratic Equations with Complex Roots 11/9/2012.
Review the following: if-else One branch if Conditional operators Logical operators Switch statement Conditional expression operator Nested ifs if –else.
Factor. 1)x² + 8x )y² – 4y – 21. Zero Product Property If two numbers multiply to zero, then either one or both numbers has to equal zero. If a.
Slide Copyright © 2012 Pearson Education, Inc.
BM 9: Solving Quadratic Equations. What is on the benchmark tomorrow?
The Quadratic Formula Students will be able to solve quadratic equations by using the quadratic formula.
Solving Quadratic Equations Quadratic Equations: Think of other examples?
Lecture 301 Solving Quadratic Equations Two Methods Unit 4 Lecture 30 Solving Quadratic Equations.
Solve by factoring. x² = - 4 – 5x 2,. Solve by factoring. n² = -30 – 11n -4 and -1.
Chapter 4: Polynomial and Rational Functions. 4-2 Quadratic Equations For a quadratic equation in the form ax 2 + bx + c = 0 The quadratic Formula is.
PreCalculus Section P.1 Solving Equations. Equations and Solutions of Equations An equation that is true for every real number in the domain of the variable.
Completing the Square SPI Solve quadratic equations and systems, and determine roots of a higher order polynomial.
Warm Up 1.) What is the graph of the function y = -x 2 + 4x + 1?
PreCalculus Section 1.6 Solve quadratic equations by: a. Factoring b. Completing the square c. Quadratic formula d. Programmed calculator Any equation.
Deriving the Quadratic Formula Complete the square for the general case and solve for x : Continued….
Warm-Up Solve each equation by factoring. 1) x x + 36 = 02) 2x 2 + 5x = 12.
Math 20-1 Chapter 4 Quadratic Equations
Lesson 6.5: The Quadratic Formula and the Discriminant, pg. 313 Goals: To solve quadratic equations by using the Quadratic Formula. To use the discriminant.
1.2 Quadratic Equations. Quadratic Equation A quadratic equation is an equation equivalent to one of the form ax² + bx + c = 0 where a, b, and c are real.
The Quadratic Formula Objective: To Solve Quadratic Equations using the Quadratic Formula, to write a polynomial function in standard form given its zeros.
SOLVING QUADRATICS. Solving Quadratic Equations in Factored Form y = (x + 3)(x + 2) 0 = (x + 3)(x + 2) Ways to solve: y = x 2 + 5x + 6 x-intercepts, roots,
PreCalculus Section 1. 6 Solve quadratic equations by: a. Factoring b
The Quadratic Formula..
4.6 Quadratic formula.
Chapter 4 Quadratic Equations
The Quadratic Formula..
Solving quadratics methods
Quadratic Formula Solving for X Solving for quadratic equations.
Solving Quadratic Equations
4.6 Quadratic formula.
Worksheet Key 9 11/14/2018 8:58 PM Quadratic Formula.
Solutions, Zeros, and Roots
The Quadratic Formula.
1. Use the quadratic formula to find all real zeros of the second-degree polynomial
Zeros to Quadratic Functions
Sec. 1.4 Quadratic Equations.
Review: Simplify.
Quadratic Equations.
Standard Form Quadratic Equation
9.5 Factoring to Solve Quadratic Equations
The Quadratic Formula..
The Quadratic Formula..
quadratic formula. If ax2 + bx + c = 0 then
Ch 10: Polynomials G) Completing the Square
Presentation transcript:

QuadraticEquation class

Background A quadratic equation is a second-order polynomial equation in a single variable x, ax 2 + bx + c = 0 (with a≠0.)

Quadratic Formula The solutions of a quadratic equation (often called finding the zeros of the equation) can be found using the Quadratic Formula:

More about the Quadratic Formula There could be zero, one or two solutions to any Quadratic Equation. In order to calculate a square root, you will need to use a method in the Math class Math.sqrt(b*b-4*a*c)

Overview of the code. public class QuadraticEquation { int a; int b; int c; public QuadraticEquation(int aa, int bb, int cc) { /* Fill in the code for the constructor to store the coeficients */ } public boolean hasSolutions() { /* Fill in the code and return either true or false*/ } public double firstSolution() { /* return the value of one of the solutions to the Q.E. */ } public double secondSolution() { /* return the value of one of the solutions to the Q.E. */ } public void displaySolutions() { /* This is the only method in which you will print to screen. You must call on the other three methods within this method. */} }