So let me go back up here, and I'm going to comment out that region, and let's uncomment this region.
那么让我们回到这里,我会为这个区域添加注意,让我们先取消注释。
I'm actually in some ways glad that I do have this sort of structured, rigid class situation
某种程度上我会为自己的严格设置的课程体系感到庆幸,
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.
让我给大家讲解下,我要去创建,一个极坐标点,然后我会去命名它为,然后我给它赋一些随机的值,好,现在我想知道。
So we'll take Flaming Hot Cheetos up there, and later in the class I'll play you a very cute clip from NPR about kids eating Flaming Hot Cheetos in schools.
我们以火焰辣奇多为例,稍后我会播一个来自于全国公共广播网的,关于孩子们在学校里吃火焰辣奇多的短片
If I do that, I would like to call the coordinate y, then I will write the same thing.
如果是那种情形,我会把坐标记为y,然后写出一样的式子
I feel like I have to introduce concepts like variance and co-variance and correlation in order to talk about finance; so that's what we'll do in Lecture Two.
我会讲到像方差,协方差,相关系数,这样的概念,为金融学的内容作一些铺垫,我们会在第二课讲到
If i would go back in time and give myself one piece of advice as undergradute, it would be take pride in your decisions and hardwork, but not in your gifts.
如果时光倒流,我能为本科时期的我,提个建议的话,我会说,为自己作出的决定和勤奋工作,而不是自己的天赋感到骄傲。
I'm going to talk about moral feelings, moral judgments, and then moral action with particular focus on why good people do bad things, which will lead us to review and discuss the Milgram study, which was presented in the movie on Monday.
我会为大家讲解道德情感,道德判断,最后是道德行为,我们会特别讲一下为什么好人会做坏事,借此回顾和讨论米尔格林姆的实验,这个实验我们在星期一的电影中都看过了。
Because I can help them grow up to be good citizens and good people,
因为我会帮助他们成长为优秀的市民和优秀的人才,
So you'll notice that I'm just going to put in numbers here and then the negative of the number and the numbers are roughly like this: . So the numbers are , , , , and .
你们会注意到我会先写一个正数,然后再写出它的相反数,收益大概如下,分别为,和
When I started to teach after hearing about Marva Collins and deciding teaching is my calling, I knew that I had to deal with the problem-- the problem is that I am introvert, I get very nervous in front of audiences and large audiences for me is anything but five.
当我听说Marva,Collins的事迹,并决定以教书为终身职业时,我知道必须克服一个问题-,那就是我个性内性,站在听众前面我会很紧张,对我来说,超过五个人就算众多听众。
I'm going to let t of b be the number of steps it takes to solve the problem of size b.
我会设立一个t作为,计算指数为b的时候解决问题需要的步骤数。
true If that value is true, I want to do a set of things.
如果值为,那么我会做一个集合的事情。
OK. That's nice.
请注意,我会将数组的大小增加为1000万。
And then it has a beautiful illustration of psychological testing, so I'll give you them quickly one after the other.
也很好地解释了一个心理测试,我会很快为大家逐一讲解。
c point You can see inside of it, it's got a set of definitions for things like functions.
我会把它简短的命名为,你可以看到类的里面,有一个对于函数之类的东西的定义集。
So something about fat is driving people and as I'll explain in a subsequent lecture, What would it be about fat that makes it more reinforcing then protein or carbohydrate?
至于脂肪如何为人们供能,我会在以后的课上解释这点,为什么脂肪比蛋白质或碳水化合物,更能让机体变强
If you pay me ten thousand dollars a month to work for you, I'll work for you and I'll think "I'm doing it for ten thousand dollars a month, that makes a lot of sense," but if I do it for nothing then I have to ask myself, "Why am I doing it?"
如果你一个月给我一万美元帮你工作,我会为你工作,但我会想,”我是为了一万美元才做的,这样更合理“,但如果我一点报酬都没有,那我就会问我自己,”我为什么要做这份工作?”
Here I'll initiate the memo to be 0, or to be empty, rather, the dictionary.
在这里我会将memo初始化为,或者为空,作为记录字典。
The idea is that I feel this tremendous lust towards you, any of you, all of you, you three, and I'm ashamed of this lust so what I say is, "Hey. Are you guys looking at me in a sexual manner?
我对你产生了强烈的性欲,比如你们所有人,你们三个,for,instance,,and—,我为这种性欲感到羞耻,所以我会说,“你们干嘛色眯眯地看着我?
It says, if I want to print out something I built in Cartesian form up here, says, again, I'm going to pass it in a pointer to the instance, that self thing, and then I'm going to return a string that I combine together with an open self and close paren, a comma in the middle, and getting the x-value and the y-value and converting them into strings before I put the whole thing together.
这不仅仅是个列表,它是怎么来做的?,流程是:如果我想要返回,一些已经在笛卡尔模式下建好的值,好,再说一遍,我首先要传入一个,指向实例的指针,也就是,然后我会返回一个,由开括号,闭括号,中间的一个逗号,以及提前转换为字符串格式的。
I'm going to say, gee, p2 is the x value the same in both of them, and if it is, and the y value's the same, then this is the same point, I'm going to return true.
这样的数据对象,我会把它们命名为p1和,我会去查看,看看两个对象中,的x值是不是相同,如果相同的话,就去查看y值是否相同。
First of all, two parameters. It's OK. All it says is, when I call this, I need to pass in two parameters for this to work. All right? Now, if I want to use that, I'm going to use a second piece of code here, called Barnyard. I'm going Barnyard to read in a couple of values, convert them into integers, and then I'm going to use solve to get a solution out.
注意我得到了什么,第一,两个参数,它的意思就是我调用这个函数,我得给它输入两个参数,明白了吗?,现在如果我要使用它我得用,这里的第二段代码,也叫,我将读入一组值,将它们转化为整型,然后我会用solve得到一个解决方案。
应用推荐