1988 年,Intel 386 SX 微处理器中的晶体管数量为 275,000 个。 1997 年英特尔奔腾 II 微处理器的晶体管数量是多少?
如果英特尔每两年将晶体管的数量增加一倍,那么新处理器将拥有
Pn = 275,000 * 2^n (where n = 9/2 = 4.5)
= 275,000 * 22.63
= 6.2 million transistors
那么如何使用 C、C++ 或 java 编写代码...
最佳答案
的确如此。摩尔在 1975 年改变了他的预测,将晶体管的数量每 两年 翻一番。
#include <stdio.h>
#include <math.h>
int main () {
double transistors = 275000;
double years = 1997-1988;
printf("%f", transistors*pow(2.0,years/2)); // 6222539.674442
getch();
return 0;
}
关于java - 摩尔定律的估计是多少,一个程序可以做到这一点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5209019/