And for a couple of reasons, one this is the first P set where we're actually gonna give you code to work from.
由于一些原因,这里是第一个习题集,在此我们提供了一些代码供大家参考。
So to be clear, we expect most students to very comfortably pursue the standard edition of the P set, but for this particular P set, and we have about 150 or so of these out on the hallway, and we'll have them at office hours throughout the coming week--this is a little logic board ; with lots of sensors; the sound sensor, a light sensor, a little joystick and the like.
我希望我们大多数同学,研究问题集的标准版本,可编程版有个特殊的问题集,我们会在接下来的几周里,在办公时间为大家做解答,这是个小的逻辑板,上面有很多传感器;,包括声音传感器,光传感器,小操作杆等。
So, you turned in p-set 3 today, but we'll have the answers posted for you this afternoon, so you can start studying from p-set 3, even as early as tonight, if you want to, because those answers will be there for you.
今天大家应该要交第三次作业了,而我们会在今天下午将答案给大家贴出来,这样大家就可以尽快开始复习第三次作业的内容了,甚至今天晚上就可以开始,如果你需要的话,这些答案将会给你一些帮助。
p2 and let's set p external equal to p2.
让外部的p等于。
So what we're going to do is take the equations for those two lines, so here's one of those equations and here's the other one, set the P in those equations equal to X, I've got two equations in one unknown, I'm sorry, I've got one equation and one unknown.
接下来我们只需要,列出这两条线各自的方程,也就是这个方程和这个方程,把方程中的P换成X,我就得到了两个等式和一个未知数,错了,是一个等式和一个未知数
Problem Set One will be posted on the course's website tonight by 7:00 p.m. It will very clearly walk you through the week's challenges.
习题集1今晚7:00,将在课程的网站上贴出来,它将非常清晰地带领你们,通过这个星期的挑战。
It's reasonable because it's meant TMP for temporary purposes just to call it temp or T-M-P for short, X and I can define temp as -- why don't I set it as equal to X, initially, because now that I've stored X in a separate chunk of memory, I can now change its value and then I can say Y gets, not X, but temp, and so now I've actually swapped these values.
这是合理的,因为它是为,暂时的目的,只要叫它Temp或简称它为,我可以定义temp为--为什么我不把它设定为等于,最初的,因为现在我把X存储在一个单独的内存块中,我现在可以改变它的值,然后我说Y等于,不是X,而是temp,所以现在我交换这些值。
应用推荐