A lot more of you chose numbers between 20 and 30, so we're really getting into the meat of the distribution.
有很多人选了20至30之间的数,所以我们已经涉及到分布的问题了
I want to show you how easy it is to change the code. But, notice, once I've added this I actually have a problem. This is now an under-constrained problem. I have more unknowns than I have equations.
我加上这个条件后,我马上面临一个问题了,这就是现在是一个非约束性问题了,我的未知数比方程数多,你从代数中可以知道。
Well, if intuitively the problem is the result of dividing an int by an int, surely a solution is: "Don't do that," right?
好的,直观地看,如果那个问题的原因是因为整型数除以整型数的话,无疑有个解决方案是:“不要那样做“,是吗?
All right, so hopefully if you see any other combination of quantum numbers, for example, if it doesn't quickly come to you how many orbitals you have, you can actually try to write out all the possible orbitals and that should get you started.
所以希望你们如果遇到,任何其它的量子数组合的问题,如果你们不能马上想到有多少个轨道,可以试着先写出所有的轨道,这是个不错的切入点。
Then next week we'll do more complicated problems that involve motion in higher dimensions, how to go to two dimensions or three dimensions.
下周我们将会处理更复杂的问题,包括更高维数的物体运动,如何处理二维以及三维运动
And they also seem to bear some relationship to the laws in Leviticus and Numbers. But the question is, what is the relationship between the different versions of the legal material? Some of these laws will parallel each other quite closely and others do not.
它们似乎和利未记以及民数记的律法存在,联系但问题是,这些不同版本的律法间,究竟有什么样的联系?部分律法间,彼此一致,其它则不然。
In a letter in late 1861 from the front, "Will indeed settle the question, for some years at least, as to whether union or secession, the Constitution or rebellion, shall triumph.
在一封1861年年底来自前线的信中,"会解决问题,但至少需要数年,不管是联合还是独立,宪法抑或是起义,终将有一方胜利
I'm going to let t of b be the number of steps it takes to solve the problem of size b.
我会设立一个t作为,计算指数为b的时候解决问题需要的步骤数。
The problem only arises if you have an int divided by an int.
这个问题只会发生在,当你用一个整型数除以一个整型数的时候。
You can run into issues of things like overflow, underflow, with floating point numbers and when you see a whole bunches of ones, it's particularly a good time to be suspicious.
来看看哪儿会出问题,你可能会碰到浮点数中的溢出和下溢问题,当你碰到一系列这种问题后,可能就会适时的开始怀疑结果的正确性。
We're going to be counting the number of basic steps it takes to solve the problem.
我们还要去数着,解决问题的的基本步骤有多少。
I'm given an integer that's a perfect square, and I want to write a little piece of code that's going to find the square root of it. All right so I'm cheating a little, I know it's a perfect square, somebody's given it to me, we'll come back in a second to generalizing it, so what would the steps be that I'd use to walk through it?
完美平方数的整数,我想写一段代码来求这个数的平方根,好,我这儿有点儿作弊了,我知道这是一个完美的平方数了,他们给我的,我们后面会讲怎么产生这个数的,那么我想解决这个问题,需要什么步骤呢?
t In the b even case, again I'm going to let t of b be the number of steps I want to go through.
如果b为偶数,那么我还是要用,来代表解决这个问题需要的步骤数。
应用推荐