Now let's think about designing the experiment itself. The goal here, there are two goals. Or more than two.
那么现在让我们来想想,怎么设计实验本身吧,这里有两个目标,或者多于两个目标。
So, let's move to our first situation where you could use a "Can" question.
那么,让我们来看看能够使用“Can”问句的第一种语境吧!
Let me conclude by just pointing to another poem, a late poem, "Directive," a poem published in 1947.
让我们看看另一首诗来作为结尾吧,一首晚期的诗,1947年发表的“指令“
So if I call, let's , let's set up s to be, I don't know, some big long list.
那让我们来调用一次吧,让我们建立一个,怎么说。
That echoes his words in Genesis 1 where he proposes, "Let us make humans," or humankind, "in our image."
这与《创世纪》第一章中,相呼应,上帝说“让‘我们’来造人吧“
So, let's make sure everyone kind of has this down, let's do another clicker question here.
好,让我们确保每个人都记下了这点,来做下一个选择题吧。
So, he can't wait to tell Franny that the professor said he should try to publish it, and then my favorite thing: he wants to read it to her over the football weekend. " Hey, come, let's read my English essay." Hello.
所以,他迫不及待地告诉弗兰尼教授说,他应该出版它,还有我最喜欢的事情:,他要给她读,在这个橄榄球周末“,来吧,让我们一起读我的文章,嗨。
So what are we going over here?
让我们来复习下吧
All right, so let's actually write something a little more interesting than "hello world."
好的,让我们来写点比“hello,world“,更有意思点的程序吧“
Well, I guess the next thing I might mention is in the area of politics.
好吧,我想接下来,让我们来看看政治领域
That's because to suggest -- just think of it - to suggest that Milton is relying on his memory as he composes so allusively and so dependently, in a lot of ways, so much of Paradise Lost - to say that is simply to say that the poem has been generated by Milton and not by God.
让我们来设想一下其中的原因吧,假设弥尔顿全靠着他的记忆,正如他隐晦而连续地在《失乐园》中引经据典,并将这些以多种方式组合,这在《失乐园》中随处可见,以至于人们可以简单地说这部诗,是出自弥尔顿而非上帝的创作。
Now we're going to see a bunch of examples and I know those are words, let me give you an example.
让我们来看看例子吧,我知道那只是概念,来看个例子。
And then I could do things like again, say, okay having done, that let me just run it here, run that, so I've now got polar point 1, and polar point 2.
然后给它们赋值半径和角度,然后我可以进行刚才的操作,也就是说,对刚才的笛卡尔坐标进行的操作,让我们来运行下它吧,运行下,现在我有一个极坐标点。
It's got this funky looking form, right, it says, I've got something that I'm going to call a class, got that key word class right here.
以及我们怎么来使用这些方法,因此我要回到类这个概念上来,让我们来建立第一个类吧,就在你们课堂手册的这儿,我会去定义一个类。
So let's look at this code for a second.
那么让我们来看看这个代码吧。
Well let's see. Where's the end test on this thing?
那让我们看看吧,我们来看看最后一次比较?
So actually, let's just run it and then we'll talk about what it does.
那么,让我们运行下程序,然后来探讨下程序的功能吧。
Yeah, if my machine will come back up, there we go. So, I'm going to now go ahead and write a little piece of code, and I put it here and I hope you can actually see these better this time, let me uncomment that region.
让我们写出代码来吧,好,如果我的电脑能回来的话,好了,那么,我要去写一小块代码,我把它放在这里以期望大家这次,能看的更清楚点。
In this case, it's cutting up from the bottom end, which makes sense because the thing I'm looking for is always bigger than the midpoint and then, I don't know, let's pick something in between. Somebody want-- ah, I keep doing that-- somebody like to give me a number?
排除元素,这是讲得通的,因为我总是找比中点大的元素,那让我们挑一个同,中点之间的元素吧,我再来试试,谁给我个数字吧,我知道你们想给我些其他东西?
OK. So now we're seeing some of these variations, let's see what else can we do here.
好,现在我们已经看到了一些例子,让我们看看能用ELSE来干什么吧。
Yeah, it's kind of simple, but it gives me an ordered list of these things, And let's run it. OK.
让我们来运行运行吧,好,我会先去搜索一些数组中没有的元素,让我来试试,看-1在不在这个数组里。
So, let's do a clicker question on isoelectronic atoms.
那么,让我们来做一个关于等电子原子的选择题吧。
So let's listen to Mozart's depiction of hell and heaven here.
那么,让我们来听下莫扎特,在这里对地狱和天堂的描述吧
So let me just to try something a little more interesting, and then we'll get to writing some simple programs.
让我们来试试更加有趣的,一些事情吧,然后,我们再去写一些简单的小程序。
And I want to show you a little bit more detail of that, so let's create a simple little list here.
我还想给你们再讲详细些,那让我们来创建一个简单的列表吧。
Because I'm cutting down the problem in half at each time. You're right, but there's something we have to do to add to that, and that's the last thing I want to pick up on.
但是我们还需要强调一点,这是我最后想讲的一点,让我们来看看代码-实际上,让我们先来测试测试吧。
PROFESSOR: No. I'm entering -- well, let's look at the example right down here.
教授:弄,我是通过,好,让我们来看看下面的例子吧。
OK. So if I look at this code, first of all I'm calling search, it just has one call, so looks like search is constant, except I don't know what happens inside of b search. So I've got to look at b search.
首先调用一下搜索,就一步调用,看起来搜索是固定的,除非我不知道二分搜索的原理,那我们来看看二分搜索吧,所以让我们看看,第一行打印出来的内容。
Well, let's just run it and see what it does.
让我们来看看结果吧。
Here's something I could do.
让我们来做做吧。
应用推荐