Blackbox 1
Consider the following mysterious black box. It gobbles up values entered on the left, and spits out some result on the right. What’s going on inside it? Here’s a hint: it solves a problem that you likely solved often in middle school math classes.