I can buy bowling balls on Amazon in packs of 7 and packs of 11. I could, for example, then buy 18, or 22, but I cannot buy exactly 15. What is the LARGEST number That I CANNOT buy?
---
A new day, a new journey. In fact, most of these days are going to be something a little bit different and a little bit new. We've already seen the idea of the objective function last class--using a few different variables, our job is to try and figure out what the max or the min of a situation might be.
Today, however, we are going to attempt to talk about the difference between an input and an output. A function is built upon this idea -- building a rule that we can allow to execute (run) multiple times, over and over, that will follow the same process each time. The goal (hope) being that if we can figure out HOW things are supposed to work, we can then let something else do the process for us.
Functions can be simple (take what number come in, and add five to it), or complicated (in the fewest amount of coins possible, given change for any situation). They can help us solve problems and issues, much like systems of equations did. We will see some of those in class today.
---
Intro Question: Eight Queens
The combinations of functions can be really useful to us, and so we will talk about the composition of functions.