Let T be the time it takes the computer to solve the problem. Let t be the time from now until when the researcher buys his computers. We wish to minimize t + T. Now t is just going to increase at the normal rate. We'd like to write T in terms of t. Can you think of a formula for T in terms of t? What conditions should it satisfy?