Worked example: matching an input to a function's output (equation)