Square root of 16, and my plot basically shows it crosses at 4 and-- well, I think that's minus 4.
我的图清楚的显示这个函数,在4和-4两个点和x轴交合。
But he said the energy of an X-Y bond is going to be equal to the square root.
但他说XY键的键能,会等于XX键与YY键键能乘积的平方根。
In a high-level language, square root might simply be a primitive that you can use rather than you having to go over and code it.
一个高级的语言,平方根可能仅仅,只是你能使用的一个基本要素,而不是你需要去编译它。
What we want to do now is compute the mean and variance of the portfolio-- or the mean and standard deviation, since standard deviation is the square root of the variance-- for different combinations of the portfolios.
我们现在要做的是,计算这个投资组合的均值和方差-,或者均值和标准差,因为标准差的平方就等于方差-,这对任何投资组合都是一样的。
Add the same thing to the y-values, squared, take the square root.
的差的平方,然后加起来开平方。
to do sqrt, or square root-- no, I'm going to square root use sqrt, that's the name I'm using here-- square root a hundred different places in some piece of code. Without function, I'd have to copy that piece of code everywhere.
让我做一下准备,想象一下我要调用sqrt或者-,不,我会调用sqrt函数,这是我在这里用的名字,我得把这段代码到处复制。
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坐标的差,然后平方,把它们加起来,开平方。
应用推荐