# Refer to the following algorithm segment. For each positive integer , let be the number of iterations of the while loop;

June 13, 2020

Refer to the following algorithm segment. For each positive integer , let be the number of iterations of the while loop;

While

End while

Trace the action of this algorithm segment on when the initial value of is 424.

Show that for any real number, if and use O-notation to express the result?

For all real number x>1

=+15x+4

Because +15x+4 is positive

2+15+4

Because x> 1 then <and 1<

.

Because 2+15+4=21

.

Because is positive