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)? I need solution to the programming segment and how the O(3n) interprets.