Recursive Functions and Finite Differences

Slides:



Advertisements
Similar presentations
Solving Quadratics by Completing the Square & Quadratic Formula
Advertisements

Appendix B Solving Recurrence Equations : With Applications to Analysis of Recursive Algorithms.
Two lines and a Transversal Jeff Bivin & Katie Nerroth Lake Zurich High School Last Updated: November 18, 2005.
Determinants of 2 x 2 and 3 x 3 Matrices By: Jeffrey Bivin Lake Zurich High School
Graphing Parabolas Using the Vertex Axis of Symmetry & y-Intercept By: Jeffrey Bivin Lake Zurich High School Last Updated: October.
Jeff Bivin -- LZHS Graphing Rational Functions Jeffrey Bivin Lake Zurich High School Last Updated: February 18, 2008.
By: Jeffrey Bivin Lake Zurich High School Last Updated: October 30, 2006.
6.9 Modeling with Polynomial Functions p Ex: Write the cubic function whose graph goes through the points (-2,0), (0,2), (1,0), and (3,0). The 3.
Sequences and Series 13.3 The arithmetic sequence
Jeff Bivin -- LZHS Arithmetic Sequences Last UpdatedApril 4, 2012.
Arithmetic Sequences & Series Last Updated: October 11, 2005.
Recursive Functions, Iterates, and Finite Differences By: Jeffrey Bivin Lake Zurich High School Last Updated: May 21, 2008.
MATRICES Jeffrey Bivin Lake Zurich High School Last Updated: October 12, 2005.
THE UNIT CIRCLE Initially Developed by LZHS Advanced Math Team (Keith Bullion, Katie Nerroth, Bryan Stortz) Edited and Modified by Jeff Bivin Lake Zurich.
Logarithmic Properties & Functions By: Jeffrey Bivin Lake Zurich High School Last Updated: January 30, 2008.
Graphs of Polynomial Functions
Using Spreadsheets for Linear Programming with The Simplex Method A sample problem By: Jeffrey Bivin Lake Zurich High School Last Updated: October 11,
Copyright © Cengage Learning. All rights reserved.
Relations and Functions By: Jeffrey Bivin Lake Zurich High School Last Updated: November 14, 2007.
Graphing Lines slope & y-intercept & x- & y- intercepts Jeffrey Bivin Lake Zurich High School Last Updated: September 6, 2007.
Systems of Equations Gaussian Elimination & Row Reduced Echelon Form by Jeffrey Bivin Lake Zurich High School Last Updated: October.
Jeff Bivin -- LZHS Last Updated: April 7, 2011 By: Jeffrey Bivin Lake Zurich High School
Graphing Parabolas Using the Vertex Axis of Symmetry & y-Intercept By: Jeffrey Bivin Lake Zurich High School
Sequences & Series. Sequence: A function whose domain is a set of consecutive integers. The domain gives the relative position of each term of the sequence:
By: Jeffrey Bivin Lake Zurich High School
Exponential and Logarithmic Functions By: Jeffrey Bivin Lake Zurich High School Last Updated: January 2, 2006.
Matrix Working with Scalars by Jeffrey Bivin Lake Zurich High School Last Updated: October 11, 2005.
Rational Expon ents and Radicals By: Jeffrey Bivin Lake Zurich High School Last Updated: December 11, 2007.
Lesson 10.1, page 926 Sequences and Summation Notation Objective: To find terms of sequences given the nth term and find and evaluate a series.
Inverses By: Jeffrey Bivin Lake Zurich High School Last Updated: November 17, 2005.
Lake Zurich High School
Matrix Multiplication Example 1 Original author: Jeffrey Bivin, Lake Zurich High School.
Lake Zurich High School
Consecutive Number Equations
Jeffrey Bivin Lake Zurich High School
Matrix Multiplication
Exponential and Logarithmic Functions
Solving Quadratics by Completing the Square & Quadratic Formula
6.9 Modeling with Polynomial Functions
Relations and Functions
By: Jeffrey Bivin Lake Zurich High School
Rational Exponents and Radicals
Lake Zurich High School
Consecutive Integer Problems
By: Jeffrey Bivin Lake Zurich High School
Lake Zurich High School
Lake Zurich High School
WELCOME.
Sum of an Arithmetic Progression
Jeffrey Bivin Lake Zurich High School
Aim: What is the sequence?
Two lines and a Transversal
Lake Zurich High School
Lake Zurich High School
Hyperbola Last Updated: October 11, 2005 Jeff Bivin -- LZHS.
Solving simultaneous linear and quadratic equations
Ellipse Last Updated: October 11, 2005.
By: Jeffrey Bivin Lake Zurich High School
Matrix Multiplication
By: Jeffrey Bivin Lake Zurich High School
Lake Zurich High School
Graphing Linear Inequalities
Sequences and Summation Notation
Lake Zurich High School
Parabola Last Updated: October 11, 2005.
Exponents and Radicals
Circle Last Updated: October 11, 2005.
Lake Zurich High School
Jeffrey Bivin Lake Zurich High School
Sequences.
Presentation transcript:

Recursive Functions and Finite Differences By: Jeffrey Bivin Lake Zurich High School jeff.bivin@lz95.org Last Updated: November 28, 2005

Recursive Function A recursive function is a function whose domain is the set of nonnegative integers and is made up of two parts – 1. Start 2. Definition Jeff Bivin -- LZHS

Example 1 start definition f(1) = 5 f(n) = f(n-1) + 10 n = 2 Jeff Bivin -- LZHS

Example 2 start definition f(1) = 3 f(n) = 5•f(n-1) + 2 n = 2 Jeff Bivin -- LZHS

Example 3 start definition f(1) = 1 f(2) = 1 f(n) = f(n-1) + f(n-2) f(3) = f(3-1) + f(3-2) = f(2) + f(1) = 1 + 1 = 2 f(4) = f(4-1) + f(4-2) = f(3) + f(2) = 2 + 1 = 3 f(5) = f(5-1) + f(5-2) = f(4) + f(3) = 3 + 2 = 5 f(6) = f(6-1) + f(6-2) = f(5) + f(4) = 5 + 3 = 8 start definition Jeff Bivin -- LZHS

Determine the degree of the function 4, 7, 10, 13, 16, 19, 22, 25, 28 3, 3, 3, 3, 3, 3, 3, 3 1st difference 1st Degree Jeff Bivin -- LZHS

Now, write the linear model 1st Degree f(1) f(2) 4, 7, 10, 13, 16, 19, 22, 25, 28 (1, 4) (2, 7) Jeff Bivin -- LZHS

Determine the degree of the function -1, 0, 5, 14, 27, 44, 65, 90, 119 1, 5, 9, 13, 17, 21, 25, 29 1st difference 4, 4, 4, 4, 4, 4, 4 2nd difference 2nd Degree Jeff Bivin -- LZHS

Now write the quadratic model 2nd Degree f(1) f(2) f(3) -1, 0, 5, 14, 27, 44, 65, 90, 119 Solve the system Jeff Bivin -- LZHS

Now write the quadratic model 2nd Degree f(1) f(2) f(3) -1, 0, 5, 14, 27, 44, 65, 90, 119 a = 2 b = -5 c = 2 Jeff Bivin -- LZHS

Determine the degree of the function 1, 10, 47, 130, 277, 506, 835, 1282, 1865 9, 37, 83, 147, 229, 329, 447, 583 1st difference 28, 46, 64, 82, 100, 118, 136 2nd difference 3rd Degree 18, 18, 18, 18, 18, 18 3rd difference Jeff Bivin -- LZHS

Now write the quadratic model 3rd Degree f(1) f(2) f(3) f(4) 1, 10, 47, 130, 277, 506, 835, 1282, 1865 Solve the system Jeff Bivin -- LZHS

Now write the quadratic model 3rd Degree f(1) f(2) f(3) f(4) 1, 10, 47, 130, 277, 506, 835, 1282, 1865 a = 3 b = -4 c = 0 d = 2 Jeff Bivin -- LZHS