MAT 221 Week 3 - Discussion Question 1

profileamyjhon2013
 (Not rated)
 (Not rated)
Chat

Below is the Discussion Question 1 for Week 3 - Please note that the submission for participation/points only counts between Tuesday, 2/4 through Monday, 2/10:

Suppose we are given the following programming segment:

Fx = 0
For x = 1 to x = n where n is a positive integer
Fx = x(x+3)+2
Print x
Next x

This segment runs in O(3n). How do we interpret O(3n)?

    • 11 years ago
    MAT 221 Week 3 - Discussion Question 1

    Purchase the answer to view it

    blurred-text