Let me cluster them because really what I have, sorry, separate them out. I've gone from one problem size eight down to eight problems of size one.
让我把它们聚集起来,因为已经得到我想要的,抱歉,把它们分开来,现在我从一个长度为8的问题,得到了八个长度为1的问题。
I wish I had pleasured myself rather than serving that wicked God."
我希望我让自己开心而不是为邪恶的上帝服务“
It reminds me of a joke about the statistician who drowned in a pool with an average height of 10 inches.
这让我想起一个统计学笑话,在一个平均水深为10英寸的游泳池里,谁会被淹死。
I've lined up two of them and let me tell you about the two that I've already lined up.
我已经安排好了其中两位,让我为你们介绍一下,这两位我已经联系好的嘉宾
I asked each of them to bring a book that had informed that question for them, inside or outside of the classroom that they had read or what in Princeton.
我让他们每人带一本书来,这本书该为他们提供了对这个问题的提示,只要是他们在学校里课堂内外读过的都行。
And if I'm already in this habit, let my software, let my computer do that thinking for me and bubble up to the top of my attention what I should address first.
如果我已经有这样的习惯,让我的软件,或者电脑为我考虑这些事情,自动的把这,些邮件放到的最醒目的地方---最上面。
So even within this framework of, given a description of a computation as a set of steps, in the idea that I could build a circuit to do it, let me suggest for you what would be a wonderful circuit to build.
所以即使需要在将计算描述,当成一系列步骤中的一步,这个框架之内,我也完全可以建立一个线路,来完成那个想法,让我为你们假设能建造起,一个多么棒的线路吧。
But right now, what I want you to be thinking of a wave function as is just some representation of an electron.
但是现在,我想让你们,将波函数仅仅理解为,一个电子的表示方法。
They provided a service to society and society responded by somehow they got their wealth, so I think that -- So be concrete.
他们为社会提供了服务,作为回报,社会让他们以某种方式变富,所以我认为-,所以具体来说。
If I take lambda equals one angstrom, hc/lambda go through hc over lambda, you will discover that the energy of a photon with one angstrom as its wavelength is on the order of 12,400 electron volts.
如果我让波长等于一埃,能量为,你将发现光子的能量,当其波长为1埃的时候,相当于12,400电子伏特。
It makes me feel even worse that everybody else is stuck dying-- or perhaps we should say dying too soon in light of our discussion about immortality.
所有人都为死而苦恼让我感到更糟糕-,或者我们应该说,按照我们对永生的讨论,是死得太早。
I mean I'm not going to try to trick you or throw in things just to make sure you come to class, but it's usually a pretty good policy.
我不是和你们耍手段,也不是为让你们来上课而随便说说,但这通常是个好方法
I'm going to ask you to fill out some forms" "but first, to get ready for this experiment, " I'd like you to get on this treadmill and run for ten minutes."
需要你们完成一些表格“,“但首先,为实验做准备,我想让你们在跑步机上跑十分钟“
I don't know if you can see, probably not, what's written on here, so let me point out to you a few things.
我不知道大家是否知道,这很可能不是其中的一种,那么让我来为大家指出一些事实。
Ah, n times, because for each value of i, I'm going to do that m thing, n*m so that is, close to what you said, right?
因此这就和你说的差不多了对不对?,这个问题的复杂度为,让我写下来,是-对不对,是?
So let's look at the second example, all right, I keep doing that -- this piece of code from here to here gives me a way of now creating a hash table of size 256.
所以让我们来看一下第二个例子,好的,我继续做那件事,这段代码中从这里到这里,是创建一个大小为256的哈希表。
I just reran make or GCC does it for me, and now I've got all these errors. Well, let's see.
我刚重新运行了make,或者GCC为我编译了代码,现在我得到了这些错误,好的,让我们看看。
Let me read it for you.
让我为你们读一下。
So for me, Teach for America is an opportunity to actually align my actions with my thoughts and my hopes and be part of the change we all talk about wanting to see.
为美国而教“对我来说是一个,真正让我实现想法和希望的地方,参与实现我们都想见到的改变。
I have yet to show you the solution to a wave function for the hydrogen atom, so let me do that here, and then we'll build back up to probability densities, and it turns out that if we're talking about any wave function, we can actually break it up into two components, which are called the radial wave function and angular wave function.
我还没有给你们看过,氢原子波函数的解,让我现在给你们看一下,然后再来说,概率密度,实际上,对于任何一个波函数来说,我们可以把它,分解为两部分,分别叫做径向波函数,和角向波函数。
There is this include which allows me to include code, source code so to speak that other people wrote so I don't have to figure out for myself how to print things to the screen.
这个“include“可以让我加进一些代码来,比方说其他人写的源码,这样我就不用自己解决,如何在屏幕上输出了,别人已经为我解决这个问题。
- Then you declare a float called f and then assign it -- -- let me scroll up for the folks in front -- that give return value of GetFloat.
然后你声明一个float类型f,再赋值-,让我向上为你们回滚到-,给出了GetFloat的返回值。
Let me give you, I'm going to create, q a polar point, I'm going to call it q, and we'll give it some random values.
让我给大家讲解下,我要去创建,一个极坐标点,然后我会去命名它为,然后我给它赋一些随机的值,好,现在我想知道。
Because in your mind you're putting tickets and cash in different mental accounts, the mental account "Tickets" generates an emotional feeling and it changes my action-- that I lost in that account.
因为在你的心里,你会把票和现金,归为两个不同的心理账户,票的那个账户“,产生了一种感性的情绪,这种情绪改变了我的行为-,让我觉得迷惑。
All right. If you flip to the second side of your handout, you'll see that I have a piece of code there, that does this-- let me, ah, I didn't want to do that, let me back up slightly- this is the algorithm called search.
你可以看到实现这个功能的代码,让我,额,我不想这么做,让我们回来一点,这就是命名为search的算法-,我们来看看这个算法吧。
Remember last time, we wrote this simple piece of code to print out even or odd. If, you know, x, it was in fact, even or odd. So let me show you what a flow chart for that would look like, because I want to make a comparison point here.
记得上节课我们写过的,那个显示奇数还是偶数的程序么,如果,你知道,x,实际上是奇数还是偶数,那么让我来为大家画个这个程序的流程图吧,因为我这里想为大家做个比较。
应用推荐