Question: The following table is the experimental run time in seconds for a program for values of input size N. Week 8 501 slide 30 (this
The following table is the experimental run time in seconds for a program for values of input size N. Week 8 501 slide 30 (this would be n^2) the second number divided by the former (seconds) and then the power by 2. 80/21 is ~4, 325/80 is ~4, 1275/325 is 4. 4 = 2^2
N Running Time
1000 21 seconds
2000 80 seconds
4000 325 seconds
8000 1275 seconds
What is the Order of Growth of this program based on this evidence?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
