But when you start doing scientific research or financial work, imprecision and rounding errors start to add up.
但如果你碰到涉及科学研究,或财政方面的项目时,不精确度,和错误就会累加。
It's going to run through the loop, accumulating the answers, but because I'm subtracting, x it's just going to keep making x more and more negative as it goes along, again it's off into an infinite loop.
它一直在循环,不断的累加答案,这是因为我一直在对x做减法,这使得作为负数的,变的越来越小,又进入一个无限循环了。
When we have n observations it's just the summation i = 1 to n of 2/n.
当有n个观察值,这就是在i取1到n时,x减去x均值的平方,除以n的累加
应用推荐