Question: Determine O() Notation and where it comes from in function Please refer to the code below. What is the o) notation for this code? What

 Determine O() Notation and where it comes from in function Please

Determine O() Notation and where it comes from in function

Please refer to the code below. What is the o) notation for this code? What aspects of the code determine o )? x = 25 epsilon = 0.01 step = epsilon **2 numGuesses = 0 ans = 0.0 while (abs (ans*#2 - x)) >= epsilon and ans = epsilon: print('test failed') else: print'success, the answer you seek is: ', ans)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!