Guest User

Untitled

a guest
Nov 23rd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. Computer Time Problem
  2.  
  3. If a computer has a loop in it, the length of time it takes the computer to run the program varies linearly with the number of times it must go through the loop. Suppose a computer takes 8 seconds to run a given program when it goes through the loop 100 times, and 62 seconds when it loops 1000 times.
  4.  
  5. a. Write the particular equation expressing seconds in terms of loops.
  6. b. Predict the length of time needed to loop 30 times; 10,000 times.
  7. c. Suppose the computer takes 23 seconds to run the program. How many times does it go through the loop?
  8. d. How long does it take the computer to run the rest of the program, excluding the loop? What part of the mathematical model tells you this?
  9. f. Plot the graph of this function.
Add Comment
Please, Sign In to add comment