The function takes a numerical input and performs a polynomial transformation on it, possibly of degree 2 or 3.

