So if we want to write out what that would be, it would just be to say that f minus is isoelectronic with neon.
那么如果我们把它写出来,它应该就是负一价的氟离子与氖原子是等电子的。
Let's bind z eh let's bind z to the-- f if I could type it would help-- say, f of 3. OK?
让我们给z赋值--如果我能打字就好了-,比方说?
It will typically look like this and the formula we say is F = - kx, where k is called "The force constant."
图像看上去一般就像这样,对应的式子是 F = - kx,k 叫做"弹性系数"
But if you avoid all of these minutia and focus really just on the idea, it looks like what was a blue say block, a so called statement, is now going to be something called printf where the F happens to stand for formatted.
但是如果你抛开所有这些繁琐的细节,把注意力集中到,它的编程思想,那么它只不过一个蓝色的say程序块,是一个声明,即所谓的printf函数,其中的f是,用于格式化输出。
Because didn't you say you could do things like just %f?
因为你没有说你可以写像%f这样的?
Let me go ahead and call print F. I'm going to say A equals A and then I need a percent D, backslash, comma A; so this is a little bit of -- more syntax than would be nice, %d but I'm just saying, literally, A equals percent D, and I'm plugging in the value of A for percent D.
我们继续调用printf,我说明A等于,然后我需要%d,反斜杠n,逗号;,所以这个有点--偏向逻辑的,而不偏向美观的,但是我刚说了,字面上,A等于,我用%d插入了A的值。
应用推荐