Now, we're not quite there because now we have two copies *b=temp of 2 so the last line of code says *b gets temp.
现在,我们还没有达到目的,因为现在我们有两个2的拷贝,最后一行指明。
So I take 2 plus 3 b steps to go through this loop OK. So if b is 300, it takes 902 steps.
好,如果b是300的话就是902步,如果b是3000那就有9002步。
And that's going to be equal to the negative the binding energy of 2 s in b, in neutral boron.
它应该等于中性硼原子中,2,s,电子的束缚能的负值。
Let's multiply both sides by 2, I'll get 2q1* is equal to a - c over b - q1*.
等式两边同时乘以2,得到,2q1*=/b-q1
So A gets 1, B gets 2, now the swap function itself starts executing line by line; so I declare a chunk of memory called temp.
所以A等于1,B等于2,现在swap函数自己开始,一行一行地执行,所以我声明了,叫做temp的一块内存。
+3b I've said the product was is 2 plus 3 b.
我们已经说了答案是。
Again I should have said first, index 0, the first one. I can similarly go in and say I'd like all the things between index 2 and index 4. And again, remember what a b c that does. Index 2 says start a 0. 1, 2. So a, b, c.
我还是要说一遍,索引为0的元素,是第一个元素,我可以要求返回索引,2和4之前的所有元素,请记住2,是从0开始的,那么0,1,2对应的是。
In an extreme case b, we had a z effective of 2, so essentially what we had was no shielding at all.
我们有效的z是,所以本质上我们完全没有屏蔽。
OK. If b is even, then a to the b is the same as a squared all to the b over 2.
就等于a的平方的二分之b次方,好,就是把二挪到外面来了。
And a bit, B-I-T, just a shorthand for binary digit, 2 so a digit of zero over a one, bi means two, you only have two digits.
比特,B-I-T,是binary,digit的简写,从0到1的数字,而bi表示,所以你就只有两个数字。
So for b 2, which is a single bond, that's 289 kilojoules per mole to break it, and it takes us more energy to break this double bond for carbon, which is 599 kilojoules per mole.
对于B2,它是单键,需要289千焦每摩尔来打破它,而对于碳双键,打破它要更多的能量,等于599千焦每摩尔。
It says, in either case in general, t of b-- and this is where I'm going to abuse notation a little bit but I can basically bound it by t, 12 steps plus t of b over 2.
我可以用一个,比12+t的数代表,这里有点不准确的地方,具体的步数依赖于奇数偶数,但是你们可以看到在两个case中。
b Star B in the last line of code now means find B, 1 2 3 all right, that's 1, 2, 3.
在最后一行的*b意思是查找,好的,那是。
Let's assume that B is equal to $2, so the spoils of government are $2 and entering costs you $1, so C is $1.
假设B等于2美元,当选的战利品2美元而参选成本是1美元,C是1美元
I claim this quantity is a - c over b such that if Firm 2 produces that much quantity, firm 1 will just produce nothing.
这个量是,/b,如果公司2生产这么多公司1就会停产
So the profit is 2 S1 plus S2 plus B S1 S2 minus S1 squared.
利润是2-S1平方
So this is our valence electron configuration for b 2.
这是B2的价电子构型。
This is 3 plus 3 plus t of b minus 2. Right?
+3+t对不对?
So we would not predict to see a b e 2 bond.
我们预测不会在Be2中看到键。
She costs C for sure, that's a wash because B, the way we've worked things out, B was $2, C was $1, So B/2-C is a wash.
她承担C的成本,收益是零,因为B,按我们设定的金额,B是2美元,C是1美元,所以B/2-C是零
Yeah. You're jumping slightly ahead of me, but basically, I'm done when this is equal to 1 right? Because I get down to the base case, so I'm done when b u is over 2 to the k is equal to 1, and you're absolutely right, that's when k is log base 2 of b.
因为这就是最基本的情况了,因此当b/2的k次方等于1的时候就停止了1,你说的太对了,就是k等于b的以2为底的对数的时候,你们都坐的挺靠后的啊,我不知道是不是我讲的不太明白?
And if I pull it out one more level, 12k it's 12 plus 12 plus t of b over 8, 12 k because I'll have 12 of those to add up, plus t of b over 2 to the k.
总结一下也就是说,在k步以后,总步数应该是,那这种情况什么时候才能停止呢?,才能到达最基本的情况呢?
What q2 makes this equal to 0 and Katie's answer is solving out the algebra here is that q2 that solves this must be a - c over b.
2为何值时这个算式等于0呢,凯特回答其实就是算出这个的解,即,q2=/b
the abuse is, you know, it's not quite right, it depends upon whether it's all ready, but you can see in either case, after 12 steps, 2 runs through this and down to a problem size b over 2.
在12步以后,两轮过后,这个问题的范围b被缩小了一倍,这为什么很不错呢?,这意味着再来12步。
So instead you'd have to maybe if you start with wavelength, go over there, and then figure out velocity and do something more like kinetic energy equals 1/2 n b squared to get there.
这时你要先从波长开始,到这,然后算出速度,然后像动能等于1/2nb平方得到这。
So the value of 2 is here so now *b gets temp so what goes here?
那么数值2在这里,*b=temp,那么这里是什么?
Right. A is 2; B is 1, and yet somehow the process gets undone.
对的,A是2,B是,但是不知为何那个处理没有完成。
So at this point in the story, the addresses are still in A 1 2 3 and B; 4, 5, 6 and 1, 2, 3.
在这里,地址还是子啊a和b中,4,5,6,和。
Let's just first fill in this for the b 2 case.
让我们先填完这个B2的情况。
应用推荐