So, if something cycles through five wavelengths in a single second, we would just say that the frequency of that wave is five per second.
如果一个东西在一秒,内经历了五个波长,我们就说这个波的,频率是每秒5次。
And the thing I wanted point out is, we've got this global variable number of calls. Which is there not because Fibonacci needs it but just for pedagogical reasons, so that we can keep track of how much work this thing is doing.
要指出的是我们已经,调用了几次这个全局变量,这不是因为斐波那契数列,需要调用它而只是,因为教学上的需要,以便我们可以知道,这个函数做了多少事情。
应用推荐