CS230 - Assignment 1

  1. Do exercise #2 in section 1.2.2 on p12.
     
  2. For each of the following big-Oh relationships, give the values for the constants n0 and c that can be used to prove the relationship.  (Note:  The values of n0 and c are not unique.)
    1.  40 n3 - 7 n2 + 1092n + 5600 is O(n3)
       

    2.  2n+10 is O(2n).