The reason I'm going to show you this flow chart, I'm going to do one other example in a second, but I want to show you a comparison.
我稍后还会给大家讲另外一个例子,我给大家看这个流程图的原因,是我想给大家一个对比。
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.
我需要进行抽象,这个抽象就在这儿,我把它强调给你们看看,我希望你也能看看讲义里的这部分内容。
So, that, for me, was kind of the first connection that what went, "Woah, wait a second, I want to be thinking about these molecules all the way down to the level of individual atoms."
接下来我遇到的一个问题,哇哦,等等,让我想想,是我在学习,有机化学的时候“
I'll show those again, but what I want to do mostly today is try to put a mathematical statement of the second law in place that corresponds to the verbal statements that we saw last time.
今天我还将跟你们讲这些,但今天的重点是,对上次口头表述内容中的热力学,第二定律,的数学推导,我们上次看到的。
Now this is when I want to stop for a second and I know that some of you, from past experience, are somewhat math phobic.
现在我们暂停一下,根据之前的教学经验,我知道有些人有数学恐惧症
I want you to think for a second about two equations.
我希望你们仔细思考一下这两个方程
Now, I've talked to you essentially about the economic aspect of this phenomenon and I'd like to turn next-- give me a second here I just want to find out where I am in this.
至此我已经基本上给大家,讲完了这一现象的经济意义,接下来,让我想想,我们该讲什么了
So, last time I gave a reading of the creation accounts that are in Genesis 1 to 3. These are two very different stories but their placement side by side suggests the possibility of a joint reading. Nevertheless they are very different in character and today I want to focus in on the second creation story.
上次我们读了《创世纪》一到三章中,关于记述创造的,两个不同的故事,尽管他们是不同的两个故事,却经常放在一起阅读,今天,我会着重介绍第二个故事。
There's a second thing going on here that I want to highlight, because it's really important. Yes indeed.
还有第二件事情,我要强调的,因为它真的很重要,确实是。
ReadFloat We'll look at it in a second. Let me sort of set the stage up for this -- suppose I want to input -- I'm sorry I want you as a user to input a floating point number.
名字叫,我们来看一会,我先来设置下情景-,假设我想输入,抱歉,我希望你们作为用户来输入一个浮点数。
Again. Basic premise of binary search, or at least we set it up was, imagine I have a sorted list of elements. We get, in a second, to how we're going to get them sorted, and I want to know, is a particular element in that list..
好,二分查找的基本前提,或者是我们建立二分查找的基础,我们已经有了一个排好序的元素列表,我们就需要知道如何来快速的排序,如何从列表中找到特定的元素。
To find a maximum I want the second derivative to be negative.
最大值处的二阶导数是负数
I'm going to add to it in a second, but I want to build up to this.
关键词“类“在这里,然后我要命名这个类。
So I differentiated this object, this is my first derivative and I set it equal to 0 Now in a second I'm going to work with that, but I want to make sure i'm going to find a maximum and not a minimum, so how do I make sure I'm finding a maximum and not a minimum?
这样我就对它求出导数了,这是一阶导数,令它等于0,一会我们就要计算了,但我先确定一下是最大值还是最小值,我怎么确定是最大值还是最小值呢
If I take the second derivative I get 2, but I want to get a and not 2.
如果我再求二阶导数就能得到2,但我想要a不想得到2
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得到一个解决方案。
应用推荐