Download Recursive Functions Guided Notes

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Addition wikipedia , lookup

Functional decomposition wikipedia , lookup

Large numbers wikipedia , lookup

Big O notation wikipedia , lookup

Collatz conjecture wikipedia , lookup

Dirac delta function wikipedia , lookup

Elementary mathematics wikipedia , lookup

Computability theory wikipedia , lookup

Principia Mathematica wikipedia , lookup

Mathematics of radio engineering wikipedia , lookup

History of the function concept wikipedia , lookup

Function (mathematics) wikipedia , lookup

Function of several real variables wikipedia , lookup

Algorithm characterizations wikipedia , lookup

Transcript
5.6 Recursive Functions
Recursive Function:


Gives a _____________________ ____________.
Gives a way to find each ______________________ output in terms of the
_______________ one.
Look at this sequence of numbers:
This is the NUMBER of the term.
3, 6, 9, 12, ……
Find the first 5 outputs of these functions.
ex. f(0) = 4
f(n + 1) = f(n) + 3
ex. f(1) = -5
f(n) = 2 · f(n – 1) + 1
ex. f(1) = 1
f(2) = 1
f(n + 1) = f(n) + f(n – 1)