Consider the exponential function defined by the equation:
$$ f(x) = 3^x $$
Calculate the value of $f(4)$, which represents the function's output when the input is 4. Enter your answer as a decimal.