• But I want you to see now what happens if I use this. Let's bind x to the value of 3.

    但是我想你看看如果我这么用的话,会发生什么。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Let's test it in all possible combinations of x and y and see if we get the right answer.

    来测试并看看,返回的结果正确不正确。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Y Why don't I say int temp gets X. Let's say Y oh, sorry, X gets Y and then Y gets temp, this 2 would fail.

    为什么我不说明,int,temp,=,X,让我们说明,哦,对不起,X=Y,然后,Y=temp,这两行将失败的。

    哈佛公开课 - 计算机科学课程节选

  • Well, we want to know, after 2041, let's say 2045, is there somebody who's a person, call him Mr. X.

    我们想知道,2041年后,假设是2045年吧,会不会存在一个人,我们称他为X先生。

    耶鲁公开课 - 死亡课程节选

  • So let's look at the first case 2px where we have either the 2 p x or 2 p y type of orbitals that we're combining.

    让我们看看第一个情形,我们要组合,或者2py轨道。

    麻省理工公开课 - 化学原理课程节选

  • if you're at X, let's just call you Mr. X, just to make it clear, so Mr. X is the person at position X.

    如果你在X,就叫X先生,只是为了方便区分,所以X先生在X位置上

    耶鲁公开课 - 博弈论课程节选

  • And that's the following. Let's take a particle that is moving in the x-y plane, so that at one instance-- sorry, let me change this graph-- is here--oh, this is bad.

    接下来,我们来看一个物体,在 x-y 平面内运动,在这个例子中,对不起,我要重画一下这个图,在这里,这画得不好

    耶鲁公开课 - 基础物理课程节选

  • Let's create a graph here that on the x axis it's going to be time, so time zero will be when you first take in a food and then one hour later, two hours later will be shown as you go from left to right, and then we'll have blood glucose level up on the y axis.

    我们在这建立一个曲线图,X轴代表的是时间,所以零时间点是你第一次进食的时间,然后一小时以后,两小时以后,是从左到右呈现在图表上的,在Y轴上是你的血糖值

    耶鲁公开课 - 关于食物的心理学、生物学和政治学课程节选

  • Let's call x the thing I'm trying to find the square root of. Let's start at 1. Square it.

    让我们把求平方根的对象,这个数称为x,让我们从1开始。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • X So now if we actually introduce the variable X, welcome X. Let's do this again.

    现在如果我们引进一个变量,欢迎你,X,让我们再做一次。

    哈佛公开课 - 计算机科学课程节选

  • We've seen in class that you get garbage values if you don't initialize something to a value so let me actually initialize x to a value.

    我们在课程上了解到,如果你不给一个变量,进行赋值,它会获得一个无效值,让我把x初始化为一个值。

    哈佛公开课 - 计算机科学课程节选

  • 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,实际上是奇数还是偶数,那么让我来为大家画个这个程序的流程图吧,因为我这里想为大家做个比较。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • How would we go about, I mean I don't want to do it because I'll probably get it wrong, but if I wanted to solve out for this X and the Y, since this is a QR class, let's just talk about it a second.

    我们怎么解呢,我的意思是我现在不会去计算,因为我可能会算错,但是如果你真的很想解出X和Y的值,介于这是一节需要快速反应的课,那我们花些时间来探讨一下吧

    耶鲁公开课 - 博弈论课程节选

  • So let me go back now to this expression, x=at^/2+c+bt.

    让我们再回到这个式子,x=at^/2+c+bt

    耶鲁公开课 - 基础物理课程节选

  • Remember last time, we wrote this simple piece of code to print out even or odd. If, you know, x, 1 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.

    这就像这里有一些脚蹼一样,首先进行测试,然后把球这样放来让ANS加,然后回来继续测试,最终跳出循环然后打印答案。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • But notice what this does. The first thing it does is, it says, let's check and make sure x is greater than or equal to 0. If it isn't, notice what's going to happen. None of that block is going to get executed, and it's going to come down here and print out a useful piece of information, which says, hey, you gave me a negative number. I don't know how to do this.

    做的是和以前一样的事情,但是注释它做了什么,第一件做的事情就是,程序说,要去检查并且确信x是大于等于0的,如果不是的话,请注意会发生什么,下面的代码都不会被执行,程序会到这里来然后显示一些有用的信息,信息会说,嘿,你给了我一个负数,我不知道该怎么弄这个了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定