I am trying to understand the concepts of programming from base. I encountered two examples.
case1: Find upper bound of f(n)=3n+8
Its very clear that f(n)->3 when n-> infinite. So 3n+8 should be less than or equal to 4n . So I can take c as 4.
case2: Find upper bound of f(n)=n^4 +100(n^2)+50
Here f(n) should be less than 2(n^4) for all n = 11. How they come up with n=11? I understand substitution will not be the better case.
It will be great, if someone explains the process of finding the upper bound.