There is a lot of explanation about big O, but I'm really confused about this part.
Acoording to the definition of Big-O, in this function
$$f (n) \le c g(n), \quad \text{for } n \ge n_0$$ $f (n)$ is $O(g(n))$.
But a description of a function in terms of big O notation usually only provides an upper bound on the growth rate of the function.
So for example 34 is a upper bound for the set $\{ 5, 10, 34 \}$.
So in this graph, how is $f(n)$ in $O(g(n))$ because if I get the upper bound of $g(n)$ function its value would be different than what is mentioned here for $n\ge n_0$.