So first, I choose a volatility randomly, from some distribution of possible volatilities 2 from to, in this case, 0.2.
来决定的一个值,所以首先我先随机选择一个浮动值,从可能的浮动值中的分布进行选择,在这个例子中就是0。
I've decided that I need to be able, in my program, to swap the value of two variables. All right.
我觉定在我的程序中,我可以,交换两个变量值,好的。
By putting it in a function bug if I find a bug and I change my program I can just run the function again.
把我输入的值放到一个函数里,如果以后我在程序中发现了一个,并对程序进行更改的话,我可以直接。
But again, that we will supply for you on the exam just in case you forget it at that moment.
但在考试中我们会给出这个值,以防你当时忘记了。
High adherence scores, good adherence to the Mediterranean Diet across all these studies, was associated with these particular health outcomes.
高遵循度值,即在研究中高度遵循地中海式饮食的人,被证实与以下这些健康性结果有相关性
In the real world, no one's going to measure it instantaneously, but we can make the difference as small as we like.
在现实生活中,没人能一瞬间测出来,但我们可以使差值越来越小
They got some number that looks like for the wavelength they got the distance from here to Chicago, and they are going to drag that through the whole calculation.
他们得到一些数,看上去像是波长,他们得到这里,到芝加哥的距离,他们把那个值,用到整个计算中。
If you've read through that material and you should have read through it by now you know that we have a value in music.
如果你通读这个材料,现在你应该也已经通读过了这一部分,你应该知道我们的音乐中有一种音符值
Right? In other words I've got the stoichiometric coefficients in there and the values, and I'm subtracting the reactants from products -1652kJ/mol wind up with minus 1652 kilojoules per mole.
对吧?换句话说这里我用了化学,计量系数和生成热的值,从生成物中减去反应物,最后得到。
For example, the median age in Iraq is 19.5.
例如,伊拉克人口的年龄中值为19。5岁。
That's different when you have continuous values-- you don't have P because it's always zero.
和离散型随机变量的分布不同的是,连续型随机变量的分布中,某一点的概率值始终是零
It gets popped off the stack as one says and so you know what the values actually as we've hinted at with our brief discussions of forensics they're actually still there.
它从堆中释放了,那些值是什么,就像我们讨论的辩论练习,所暗示的,我们还在那里。
And I'll just point out here also, this is a conversion factor you'll use quite frequently -- many of you, quite on accident, will memorize it as you use it over and over again.
你们会经常用到,所以你们可能,会不小心记住它的值,但我们并不会在,任何考试中。
First, it's pointing to the beginning of the list, which initially might be down here at but after a while, might be part way through. And to that, I simply add a halfway point, and then I check.
列表中间的一个部分了,然后我求出列表的中值点,然后看看该点的值是不是等于目标值,如果是的话就完成了,如果不是的话,如果中位值大于我要找的目标值。
PROFESSOR: And so in this case, it's using the same piece, but it's returning that middle value that says they're actually the same.
教授:那么实际在这个例子中,我们用的是同一个函数,它返回了中间的值也就是,0来表明着两个参数。
So, we end up with a total of six electrons that are possible that have that 2 p orbital value.
所以我们最后,总共得到了6个电子,在所有可能的“2p“轨道值中。
You can find values of all of these if you look at your Table of Constants.
如果你在你的常数表中仔细找一下,可以找到所有这些常数的值。
In math, when you see multiple value solutions, these are eigenvalues.
在数学中,当你看到许多值的解法时,这些就是特征值。
The median age in Afghanistan is under 18.
阿富汗人口的年龄中值低于18岁。
That doesn't solve the problem we had before though Then I'm going to append it, and keep the last change for future use.
这样没有解决我们之前的问题,所以我要给它加上一个值,让上一次的变化能够用到未来的例子中。
In binary search-- ah, there's that wonderful phrase, this is called a version of binary search just like you saw bin-- or bi-section methods, - when we were doing numerical things- in binary search, I need to keep track of the starting point and the ending point of the list I'm looking at.
就是当我们处理数字的时候,所称的二分检索,在二分法搜索中,我需要记录区间的开始点和尾点,初始化的时候就是-,问题输入的开始点和尾点,当我开始做测试的时候,我想要做的就是去取中值点。
OK. Now, having said that, where should I pick to look in this list?
对不对?中值点?为什么呢?,你答对了但是为什么呢?
And then somewhere along the line, I decide to store things in a different representation.
但是随后的一些地方,我决定在不同的,表现形式中存储值。
I can just whip out a variable, this time it's gonna be dynamically stored there.
我们可以临时分配一个变量,将这个值暂时存放在这个变量中。
And in test one it's a little bit above 100.
而在测试1中它的值应该稍高一点。
I'm going to say, gee, p2 is the x value the same in both of them, and if it is, and the y value's the same, then this is the same point, I'm going to return true.
这样的数据对象,我会把它们命名为p1和,我会去查看,看看两个对象中,的x值是不是相同,如果相同的话,就去查看y值是否相同。
And that shows you one other nice little thing we want to do, which is if I look in this code notice I set up a variable up here called false Solution Found, initially bound to false.
这显示了我们想要做的另一件事,那就是我在这段代码中设置了一个,名为Solution,Found的变量,初始值设为。
In temp. So that means at the end of that first line of code just as before the value of 1 ends A up in a variable called temp because we said go to A and I look around, oh, there's A, what's there?
在temp中,在第一行代码的末尾,值1最终到了叫做temp的变量中,因为我们指明了定位到,并且四处查看,哦,这里是A,里面是什么?
Some people like to use shallow and deep, object and value, but they're talking about the same thing, which is it the same object or is it the same, in this case, set of values, depending on what you want to define as you use it.
有些人喜欢用对象相等值相等,但是它们是同一件东西,也就是是不是同一个对象,或者是不是同样的,在这个例子中,是同样的值集合,这取决于当你使用它的时候,想要怎么来定义它。
But it's a valuable thing. It says, in each case, I return some useful value from this procedure.
但是这就是变量,是在每个例子中,我从这个程序中返回了一些有用的值。
应用推荐