I know this is the right answer, because if I now find the acceleration, I find it's mg divided by m and I get -g as the answer for all bodies.
我知道这个等式是正确的,因为现在如果我要求物体的加速度,用 mg 除以 m,我就得到 -g,这个结果对所有物体都成立
That's the answer I heard. Is that all right? Okay, enough of this mathematical falderal.
这是我听到的答案,没错吧,好的,不管这个数学谬论了
Well, unfortunately, we know this is not the right answer, because if you take the first derivative, I get 2t.
遗憾的是,我们知道这还不是正确答案,因为如果对它求一阶导数,会得到2t
And in fact, now let me ask those two questions about this piece of code. First question is, for what values of integers-- we're going to assume integers-- but for what values of x does this code terminate? And the second question is, for what values of x does it give me back the right answer?
实际上,让我关于这块代码问两个问题,第一个问题是,对于什么样的整数值,我们会假设是整数,对于x的什么值程序,会最终终止?第二个问题是,对于x的什么值程序,会返回正确答案?
应用推荐