Tell us about a time when you have tried to solve one problem but unexpectedly produced another.
VOA: special.2010.05.25
This should all sound incredibly familiar, like I'm just repeating myself in terms of photoelectric effect, because essentially that's what I'm doing, and that's one reason we spent so much time and did so many problem-set problems on the photoelectric effect.
这应该听起来极其熟悉,就像我在重复自己在讲光电效应时所说的话,因为基本上我正是在这样做,这也是我们在光电效应这个问题上,花这么多时间,做这么多习题的原因之一。
And we hope that at the end of the class, every time you're confronted with some technical problem, one of your first instincts is going to be, "How do I write the piece of code that's going to help me solve that?"
并且我们希望到了期末,每当你要面对一些,技术问题的时候,你们的本能之一将会是:,“我怎么才能编写一个代码,来帮我解决这问题?“
One time,Miss Sullivan suggested leaving a problem to solve until the next day.
VOA: special.2009.11.08
Well, realize one of the themes in this course and really one of the themes in programming and solving any problem with a machine is going to be really to just take small bites one at a time out of these problems until the end result ultimately is that you've actually bitten off a fairly large fairly interesting problem and in the aggregate, you've actually implemented something pretty sophisticated.
好吧,让我们先想一下这件事带给我们的主题,编程和解决问题的思想,一台机器最开始只会一步一个脚印,沿着要解决的问题向前迈进,直到最终的结果出来,最后你会发现,你已经解决了一个相当大,相当有趣的问题,而这个问题在最初看起来确是相当复杂的。
So, just, if you can take what I'm saying for a moment right now that in fact this should collapse in this very small time frame, we have to see that there's a problem with one of these two things, either the Coulomb force law or Newtonian mechanics. So, what do you guys think is probably the issue here?
所以如果你们考虑我,开始说的这个塌缩应该,发生在很短的时间里,那么这两者之一就有问题,要么是库伦定律,要么是牛顿力学,你们觉得应该是哪个的问题?
OK. You can see that thing is cutting down the problem in half each time, which is good, but there's one more thing I need to deal with.
这很棒,但是我们还需要处理另外一件事情,让我们仔细来看看,我在开始做之前一直在说,应该先试验试验。
Typical characterization, not all the time, but typical characterization, is an algorithm that reduces the size of a problem by one, or by some constant amount each time, is typically an example of a linear algorithm.
我们学习过了线性算法,它的典型特征,不是通用的,但是比较典型的特征是,它是逐一减小问题的大小的,或者说是每次减小常数的大小。
应用推荐