A function takes an input often called x , and provides an output y or f(x). f is the function.

example

f(x)= 10 - x for 4<x< 10

takes 5 to 5, 8 to 2, 7.534 to 2.466 etc.

The values that the input can take is called the DOMAIN.

The values that the OUTPUT can take is called the RANGE.