And I want to spend a couple of minutes again reinforcing that. So if we look at that code and we were little more careful about this, what did we say to do? We said look an sorry.
内容了,我还要花几分钟,来强化下,所以,如果我们再仔细些看下代码,我们应该关注些什么?
Let's look at another example now.
下面我们再看一个例子。
OK, what I would like you to see is I've been printing out, as I went along, actually let's back up slightly and look at the code. There's merge sort.
好的,我想让你们看就是我运行过后,打印出来的结果,我们再回头看一下这段代码,这就是归并排序,输入一个列表。
They're just sitting there, but they are listening for something we'll see in a moment.
它们一直在那里,但是正在听着什么声音,我们等会再看。
We want to do that in the simplest context, then we can make the example more and more complicated, but the phenomenon will be the same.
我们想举一个最简单的情景,随后我们可以再看一下更复杂的情况,但是万变不离其宗
Let's consider again an s orbital for argon, so let's say we're looking at the 1 s orbital for argon.
我们再考虑一次氩的s轨道,所以我们说我们在看氩的1s轨道。
So if we go back to the Cheetos and the cockroach and we look at our different criteria, and we ask ourselves, is it found in nature?
我们回头再看奇多和蟑螂,我们参照不同的标准,回答如下问题,它是存在于自然界的吗
If we look back at that long, open-ended list of things that were good or bad, we'll find that mos of the things on that list are instrumentally good.
再看那个长长的没有结尾的,好的或坏的东西的名单,我们会发现上面很多东西,都是有好的利用价值。
All right, well that's correct. So let's try and read that through.
正解,我们再从头到尾看一遍
Let's talk about pop music for a second: jazz, rock, hip-hop, blues, that kind of thing.
我们再看一下流行音乐:,爵士,摇滚,嘻哈,蓝调,类似这些音乐
Now, let's go back to a theory which has at least got the virtue of being very old, although hardly anybody believes it anymore.
现在,让我们再回去看一个理论,它的优势在于非常古老,虽然已经没人再相信它
Yes, to me personally, I feel like it all depends on one's personal morals and like we can't sit here and just, like this is just my opinion, ... of course other people are going to disagree but Well we'll see, let's see what their disagreements are and then we'll see if they have reasons that can persuade you or not.
对,就我个人来讲,我觉得这完全取决于一个人的道德修养,而不是我们在这坐着说得清楚的,当然这只是我一家之言,其他人肯定会反对,但是,这个到时再说,先看他们的反对意见是什么,再来看他们的理由是否能说服你。
Again, I want you to start seeing how to map the characteristics of the code- the characteristics of the algorithm, let's not call it the code-- to the complexity.
是算法中的那些特性,我们还是别说代码了,转化为复杂度-,我一会儿还会再讲点儿这个的,但是我们再看一个例子。
OK, if you look at that then, let's look at what happened when we ran this.
好的,如果再看一下那个,让我们看一下当我们执行这里时会发生什么。
And then we're going to look at that Nash Equilibrium and you're going to think, how does that compare to what I saw in the Cournot case we solved.
最后再看一下那些纳什均衡,你们要去思考,那跟我们学过的,古诺模型比较有什么异同
We're going to start at the right and work to the left.
我们先看右边,再移向左边
All right. Let's look at this again more carefully.
我们再把这个论证更仔细地看一遍
All right, I want to show you one last example of using recursion because we're going to come back to this. This is a classic example of using recursion. And that is dating from the 1200s and it is due to Fibonacci.
并且返回答案,我想给你看看递归的最后一个例子,因为我们还要再看一遍,这是一个递归的经典案例,它可以追溯到13世纪。
Let's do one more just to see a pattern here.
让我们再继续,看能不能找到规律
All right, let's do one more.
让我们再看一个
So let's imagine we're playing the game again, once again you're going to the movies, once again the first one didn't happen so you didn't for some reason it was cancelled that night because someone had a bad cold or something.
我们再来进行一次这个博弈,假设你们又要一起去看电影,由于种种原因,第一天晚上你们都没有看成,假装因为有一个人感冒了
So let's take a look then at somewhere where this is actually a useful thing to know so this is compare1.c. So, in compare1.c I've stripped out the comments in my version but in your version you do have comments for reference and it's actually pretty self-explanatory if you just read through the code.
那么再然我们看一看,一些有用的东西,这是compare1。c,所以在compare1。c中,在我的版本中,我吧注释去掉了,但是在你们的版本中是有注释的,这是相当容易理解的,如果你通读这段代码。
Let's look at it again. All right it's time to interrupt the world, and we'll just type into the shell.
好,让我们再来看看,好,我们输入shell命令,看结果怎么样。
We'll loop back as we go through the class to questions about what's gone so horribly wrong, and more important, from a public health point of view, what can be done about it?
当所有的课都上完后我们会再回头看,到底是什么出了问题,更重要的是,从公共健康的角度来看,如何才能纠正这些错误呢
I'll get rid of Fibonacci here, we don't want to bother looking at that again.
我在这里会注释掉Fibonacci数,我们不想再看一遍。
But at second glance we see that there is at least a possibility of, a logical possibility of surviving the death of my body.
但再看第二眼我们就会发现,至少还有一种可能,逻辑上来说还有一种,肉体死亡后复活的可能。
putting all those things together, if you looked at this question again we'd get 100% on it, 0 9 that our only option here is 0. 9, and that it's not the negative, it's the positive version, because we're talking about how much energy we have to put into the system in order to eject an electron.
把这些放在一起,你们再看一下题目,大家100%都能选对,我们唯一的选择就是这个,它不是负数,它是正的,因为我们说的,是要,把电子激发出来,需要提供的能量。
Let's take another one.
让我们再看一个
Well,what I'd like to do now is move here to a couple of additional pieces, and we're going to use an example of pop music now with a three-chord chord progression.
那么,我们现在要做的是再看其他一些音乐,然后我们会用流行音乐的例子来看看三和弦进行。
应用推荐