Big-O notation finding c and n0

前端 未结 4 1303
一生所求
一生所求 2021-02-13 10:21

I\'ve just been introduced to Big-O notation and I\'ve been given some questions. However I\'m confused as to how to determine the value of n0. I have to show that

4条回答
  •  离开以前
    2021-02-13 10:59

    Divide by n^3 we get 3+20/n+5/n^3<=C 20/n+5/n^3<=C-3

    Take C value as 10 20/n+5/n^3<=7

    We need to solve this for different values of n until the condition gets satisfied C=10 and n0 = 3 will give the solution

提交回复
热议问题