So, if we look at what the other sub shells are called, essentially we're just converting the number to a letter.
我们来看看,另外的子壳层叫什么,本质上,我们就是把数字转换为,一个字母。
and you just see the millions going up and up and up and up and it's all generated for charities.
你能看到百万位的数字往上涨啊涨啊涨啊涨,它们都是为慈善募集的。
Let's plot droplet velocity as a function of looking at the number that have this velocity 0 with the zero being in the center here.
我们将液滴的速度设定为,观察那些数字作用,在中心的地方,速度为。
Well, notice again, on each level of the tree, when I actually do the merging, so this remember, is when I wrote down just the numbers when I bottomed out with the list of size 1.
请注意,在这棵树中的每一层,我真正做合并时,就将每个大小为1的列表中的,数字写下来。
Well I need to take that number and I'm going to turn it into a string. So notice what I'm going to do right here. I take that number and convert it into a string. That's an example of that type conversion we did earlier on. By doing that it makes it possible for me to treat it as an ordered sequence of characters.
我可能得把这个数字变为字符串,请注意我这里是怎么做的,我把这个数字,转化为字符串了,这是我们之前学过的,类型转换的例子,这么一来我就能把它按照有序的。
So, we should use that, but people in finance resist using that because it's a lower number and when you're advertising your return you want to make it look as big as possible.
所以我们应该用这个指标,但金融界反感使用几何平均,因为它比其他平均数都来得小,他们为自己的收益率做广告时,当然希望数字越大越好
And I am going to call this whole geometric factor here, I am going to put it into one number, and I am going to denote that the Madelung constant.
接下来我将会称这一部分为几何因子,我将把它们整合在一个数字里,我将会标注它为马德隆常数。
In the phonebook, I just kept dividing and dividing Mike Smith and dividing into half and in the end I found Mike Smith 50 or I found the number 50.
在电话簿的例子中,我先将其划分为两部分,接着再划分,最后就可以找到,或者数字。
That means starting at the first one, I'm going to do something to it. And what am I'm going to do? I'm going to take that character, convert it back into an integer, and add it into some digits. And I've done a little short hand here, which is I should have said some digits is equal to some digits plus this.
这意味着从第一个字符开始,我要对他们进行一些操作,我要去做什么呢?我要取得这个字符,然后把它转换为整数,然后加到某些数上面去,我在这里用了一些缩写,我本来应该写一个数字等于这个数字。
The so called binary system, 1 these zeros and ones that you'd probably have some vague sense underlie all computers today actually reduced to the exact same grade school kind of math and system except with computers, 1 because it's a lot easier to use just two digits, zero and one.
所谓的二进制就是,你觉得模糊的0与,在电脑上计算,事实上可以简化为跟小学数学一样,只是在电脑上计算而已,因为它更容易,仅仅使用两个数字,0与。
All around. If you plug in the numbers, you will end up with an uncertainty 15% in the momentum as being on the order of 15%.
所有,如果你把数字都加起来,你将得到一个关于动量的不确定度,约为。
I mean, these are huge, huge, numbers that humans are now using to protect their data.
我的意思是它们是非常,非常巨大的,数字,用来为保护我们的数据。
As reported contemporaneously in 2000,the number was -3.1% but if you look at the number reported for 2005, because bad records had disappeared and good records had been added, all of a sudden the average experience for that year went up to +1.2%.
000年期的公告中这个数字为负3.1%,但是如果你去查2005年公告的数字,坏记录已经调整而消失,有利的投资记录被加入,转瞬之间,年平均收益升至1.2%
So if n is greater than or equal to 1 and n is less than or equal to 3, let's just judge this thing a small number arbitrarily.
所以n大于等于1,并且n小于等于,我们武断的判定它为,一个小的数字。
A If you want to convert a number like 65 to the letter A, you just have tell the computer "cast that int to a char."
如果你要把一个像65这样的数字转换为字母,你只需要告诉计算机“把那个int型数据转换成char型处理“
But if we know that 65 is the int that maps to the capital letter "A," we've already seen verbally that you can convert letters to numbers and numbers to letters, and so here's the syntax with which we'll soon be doing that.
如果我们知道65是个整型数,对应的是,大写字母“A“,我们已经口头地说明,我们可以把数字转换为字符,字符转化为数字,所以这里就是我们将要学习的一种语法。
-- Else if n is greater than 4 and n is less than 6 -- 7 let's call it medium -- else if n is greater than or equal to 7, -- less than or equal to 10 -- let's call it "big" -- and if the user typed in zero or negative 10 or 20 or whatever, let's just use the all-inclusive else block and just say, "You picked an invalid number."
否则如果n大于4,并且n小于-,我们叫它为中间数--否则如果n大于等于,小于等于10--我们叫它为“大数“,如果用户键入了0或者-10或20或其它的,让我们用一个广泛的else子句,只需要说,“你选了一个非法的数字“
应用推荐