given the function f: X --> R+ that is bounded above, proove that sup(f^2)=sup^2(f)

I did the proof when given two functions f and g, we have that sup(f*g) is less then or equal to sup(f) * sup(g) using the same hypotheses.

How may I proove the equality when I have one function only?