Trace Algorithm 1 when it is given n = 5 as input. That is, show all steps used by Algorithm 1 to find 5!, as is done in Example 1 to find 4!.

Math 100 – Intro to Functions and Lines Function = a rule that assigns to each input exactly one output X = input variable (horizontal axis) F(x) = output (vertical axis) F(2) = 2^3 = 8 Input: x=2 Output: 8 EX. Table (Input and Output) Inp Outp ut ut n = input variable 1 1 2 4 Find a rule that describes output in terms of “n”. 3 9 4 16 F(n) = n^2 5 25 EX. (Online Homework) Given M(c) = -11c^2 + 3k (Here k is some external parameter, or constant) Find M(-2) M(-2) = -11(-2) ^2 + 3k = -11(4) + 3k = -44 +3k Domain of a Function = set of all possible inputs EX. Domain of r(x) = 3x/x-5 All real numbers except 5 EX. Domain