Our favorite program runs in 10 seconds on computer A, which has a 4 GHz. clock. We are trying to help a computer designer build a new machine B, that will run this program in 6 seconds. The designer can use new (or perhaps more expensive) technology to substantially increase the clock rate, but has informed us that this increase will affect the rest of the CPU design, causing machine B to require 1.2 times as many clock cycles as machine A for the same program. What clock rate should we tell the designer to target?

Respuesta :

Answer:

The rate clock is about

F = 8 GHz

Explanation:

f₁ = 4 G Hz , t₁ = 10 s , t₂ = 6s , f₂ = 1.2 f₁

Can organize to find the rate clock the designer build to the target so

X / 4 Ghz = 10 s , 1.2 X /  Y = 6 s

X * Y = 10 s  ⇒ F = 10 s

1.2 * 4 G Hz = 6 s

F = 10 * ( 1.2 * 4 G Hz ) / 6

F = 10 * ( 1.2 * 4 x 10 ⁹ Hz )  /  6

F = 8 x 10 ⁹ Hz

F = 8 GHz