It could run and give you the right answer, it could crash, it could loop forever, it could run and apparently give you the right answer.
它可能会正确运行,并返回给你一个正确的答案,它可能会崩溃,它可能会一直运行下去,它可能会运行并给你正确的答案。
Because it will give you an opportunity to say "now is the time,"
它给你提供了一个说“就是现在”的机会,
suppose I asked you to time a 100 meter spring in the Olympics, but I give you a stopwatch that is measured in units of 15 seconds?
如果我要求你,在奥林匹克数给100米短跑计时,但我会给你一个秒表,它可以测出15秒的大小?
All velocities I see you will add a certain number to get the velocities according to you.
而我观察到的速度,你也要给它加上某个数值,来得到你观察到的速度
So adding dictionaries, as Professor Grimson said with so many other things, doesn't give you any more computational power.
正如Grimson教授所说的那样,数组并没有给你更好的计算能力,但是它让一些工作大大的方便化了。
It's not necessarily chronological, but at the same time it gives you a sense of successive metaphysical philosophers thinking about first causes, origins, and about whatever it is that determines everything else.
这不一定是按时间顺序排列的,但同时,它会给你一种感觉那就是,一位又一位形而上学哲学家,思考原动力,起源,思考到底是什么觉定了其他的一切。
So you could have--be consuming fat that is in itself good for heart health let's say, or maybe protective against cancer in some ways, but it's also adding calories to the diet, so you want to have the optimal amount of fat and not over-consume it because of the calories.
所以你可能是在食用,有益于你心脏健康的脂肪,打个比方,又或是在某种程度上可以抗癌,但它也给你的饮食增加了热量,因此为了减少热量应该食用适量,而非过量的脂肪
I need to now put this float somewhere, and I'll put it in a variable called f that you can call it whatever you'd like.
我现在需要把这个浮点数放在哪个地方,然后我把它放在,一个叫做f的变量里,你也可以给这个变量取其它的你喜欢的名字。
So the knight, far from going on a straight course, surprises you.
所以马,不像其他走直线的棋子,它会给你出其不意的惊喜。
Because, as I said, you can only drive one car at a time and if you've got ten of them in the garage, then it doesn't really do you much good.
正如我说的,你只能一次开一辆车,但如果你的车库里有十辆,它实际上并不会给你带来更多的好处
Last time, I invited you to think about life on the experience machine, where the scientists are busy stimulating your brain in such a way as to give you an exact replica, from the insides of what it would be like having identical experiences to the ones you would have if you were really doing-- well, whatever it is that's worth doing.
上节课,我要你们思考,体验机里的生活,科学家们用它刺激你的大脑,给你一份完美的体验复制品,从体验相同的经历,到体验在现实生活中-,值得做的事情。
You'll find "That's all" very useful to express what you have or to put a stop to something.
你会发现 “That's all” 是个非常有用的句型。你可以用它来给一件事画个句号。
So, if every tenth time your dog brought you the newspaper you gave it hugs and treats; that's ratio.
每当你的狗为你拿十次报纸,你就抱抱它,给它奖励;,这便是比率强化。
The absolute number that you assign to it is something that's arbitrary. You have to set what the zero is. And so there's a well-understood convention for what the zero is.
你指定给它的绝对值是有任意性的,你需要设定零点的位置,因此有一个经过充分研究的,关于设定零点的约定。
It doesn't tell you this is my hometown and this is Japan and so forth. It gives you a lot of visual cues that you use in my personal journey to see what Japan is like on a personal level.
就在于车上没有人说话,它不直接告诉你这是,我的家乡,这是日本等等,它给你许多,视觉提示,你会通过这些提示,从个人的角度看日本。
And, if you look carefully, it tries to give the sense of a one electron system.
如果你仔细的观察的话,它试图给人一种单电子系统的感觉。
Because any velocity I ascribe to a particle or an object, you will add a certain constant to it by the law of composition of velocity.
因为我描述的任何一个质点或者物体的速度,你都要根据速度叠加法则,给它加上某个常数
In this blank area over here next to the search tab you can type in any food that you're having, and then the program, unless it's something really unusual, the program will recognize it and then give you a series of options of things it thinks it might be.
你可以在搜索框的空白处,输入你吃的食物,之后程序会,除非是些稀奇古怪的东西,否则程序会去识别输入的内容,并给你一系列它认为可能的选项
same point It says, if you give me two of these data objects, I'm going to call them p 1 and p 2.
的代码,What,does,it,say,to,do?,你可以看看它,它是用来做什么的呢?,它的意思是,如果你给我两个。
It says you gave me something I didn't know how to deal.
它的意思是你给了编译器一个,他不知道怎么处理的东西。
Well, unfortunately in C, you have to be ever so specific as to what you wanna put in the variable.
很不幸,在C语言里,给变量赋值之前,你必须搞清楚它的数据类型。
Just to give you a sense of what that means, if the 264 figure is pure covalency and the 344 is partial ionic character, what fraction of the 608 is 344? 344, which is partial ionic character, 57% divided by 608 times 100 is 57%.
它只是给你一个这样的概念,264千焦每摩是完全共价成分的键能,而344是离子成分的,344除以608是多少,344,是不完全的离子特性,除以608乘以100得到。
And maybe you give it a set of constraints.
你可能给了它一系列的约束条件。
You will be--you are entitled to receiving the dividends that are paid out of earnings for the rest of your life and you can give it to your children and maybe in two hundred years from now it'll be worth a lot; probably not, but it might be.
你此后会一直收到,从收益中分出来的股利,你可以把它给你的孩子,也许200年后会变得非常值钱,也可能不值钱,但还是可能值钱的
I want to abstract that. And the abstraction you see, right here. I'm going to highlight it for a second so you can see it. I want you to look at it on the handout as well.
我需要进行抽象,这个抽象就在这儿,我把它强调给你们看看,我希望你也能看看讲义里的这部分内容。
It does represent the sum, in the sense that if i gave you four bucks and I gave you five bucks, I gave you effectively nine.
它表示的就是这两个矢量的和,好比是如果我给了你四美元,然后再给你五美元,我其实给了你九美元
I can't give it what it wants," know that when you're writing code and the problems that will remind of this, if you absolutely have to kill your program, you don't have to close the window, CTRL+C reboot crazy stuff like that, generally you can hit CTRL+C and it will just abort the program right where it is, in case you ever get trapped in some awkward situation.
我不能给它所要的“,当你在写代码时,程序将,提醒这个问题,如果你不得不,关闭这个程序,你不需要关闭这个窗口,重启像那样的疯狂举动,通常你可以敲,它将会在这个地方终止那个程序,假使你陷入了尴尬的处境。
Then what the program will do will give you a series of things it might potentially be because it recognizes that you could be entering more than one thing, and then you have to take the one that you think is closest to what you're actually eating.
系统就会给你,一系列它认为正确的选项,因为它可能会认为你的东西不止一种,之后你要选择,与你所吃食品最接近的选项
I've got here lots of flyers given to me by the director of the laboratories which will tell you which lab is the right lab for you, and they're offered many times a week. Yes?
我这里有不少小手册,实验室负责人给我的,它能告诉你该去哪个实验室,实验室在一周中很多个时间段是开放的,你说
If you have a dog and you say "Good dog" to reward the dog, by your logic, which is right, at some point you might as well give the dog a treat along with the "Good dog."
如果你有只狗,你用“好狗狗“这话来奖励它,根据你正确的逻辑,总有时候你会在说“好狗狗“的同时,给它些奖励“
应用推荐