f=0 I would write f of x is in big Oh of n squared.
我写下了。
So you see what it is--it's a measure of how much x deviates from the mean, but it's squared.
你会看到,这个指标,衡量的是x与平均值的偏离,而且这里有个平方
I can either look at my flow chart, or I can look at the code. If I look at the flow chart, it says, I'm at this point. Look at ANS squared. Is it less than or equal to-- sorry, first of all, 0 ANS squared is 0, is it less than or equal to x, yes.
我可以看流程图也可以看我的代码,如果我看流程图的话,流程图这么说的,在这一点,看看ANS的平方,看是不是小于等于-对不起,首先,ANS的平方是。
I take the difference in the x-values, squared, the difference in the y-values, squared, add them up, take the square root of that.
好,是毕达哥拉斯定力对不对?,求x坐标的差,然后平方,求y坐标的差,然后平方,把它们加起来,开平方。
I'm going to start with a guess, I'm going to call it g. And then I'm going to say, if g squared is close to x, stop.
我会从一个猜想开始,把它叫做g,然后我会说,如果g的平方接近于X,打住。
X stays the same. 4 squared is 16.
我没把x赋值为500?好,ANS为。
应用推荐