The graph the the function is shown below.
To evaluate the function, drag the cross-hair (green) on the horizontal axis to the desired input value. Then measure the height of the graph from the vertical axis (red) to find the output value.
- Evaluate
- Evaluate
- Evaluate
- Evaluate
Notice how each input yields only one result (there is only one answer for each input) but some inputs have the same output value. It’s no coincidence: the graph passes the vertical line test!