Let the function $f(x)$ be defined by the equation:
$$ f(x) = -x^2 + 4x $$
What is the maximum value of the function $f(x)$?