So I could have written right here immediately CvdT equals Cv dT, and that was the end of my derivation.
于是我在这里就可以直接写,来它等于,完成了整个推导。
I'm out of numbers so I can just write down the 7 and now, if you're following along, what step comes next?
再没有数字了,所以直接将7写下来,下一步是什么?
Let's try to do part of it in the head, so I can just write down the answer.
让我们先试试前面的一部分,我就直接写答案了
OK? You can take a quick look at it, a even with the wrong glasses on, it says if a 1 sorry, b is equal to 1, a I'm just going to return a.
你们可以快速的过一遍,它是这么写的:如果,对不起,是b等于,那么就直接返回。
I'm out of numbers here, so now I can blindly write down the rest of these numbers.
这儿再没有数字了,所以我可以直接,将剩下的这些数字写下来。
I think you guys know enough calculus for me to write.
你们的微积分水平应该能允许我直接写出来
OK, so how can I code this up? Well, you might think, let's just jump in and write some code, I don't want to quite do that though, because I want to show you another tool that's valuable for thinking about how to structure the code, and that is a something called a flow chart. Now.
好,那么我怎么把这个以代码实现呢,你可能会想,让我们进去直接写代码把,但是我不想这么做,因为我想教给大家另外一项很有价值的,用来组织代码的工具,叫做流程图,现在,像Guttag教授,和我这么大岁数的人。
应用推荐