It's 33, 32, it's only 32 times and you can check that math at home but here lies the power of algorithmic thinking, of computational thinking as they say.
你需要33,32,对,32次,你也可以在家里自己计算,但数学算法的力量是无穷的,这就是科学家们所谓的计算机思维。
Alright, when I was an undergraduate, I was Computer Engineering and Math.
我本科的时候学的是计算机工程与数学。
Well, the infinity mechanism, and many of you will be familiar with this from mathematics or computer science, is recursion.
这种无限机制是递归的,你们许多人会在数学与计算机科学中,熟悉这个词
Okay, not to dwell too much on math because you can very quickly bore someone in computer science by dwelling too much on math but it's useful even for logical constructs as we'll see with loops.
不要过于纠结于这些数学问题了,在计算机领域,你会很讨厌那些,在这上面钻牛角尖的人,但是对于那些,像循环这样的逻辑结构又是很有用的。
Let's do a little bit of algebra just to make sure we can find this thing.
我们不妨也佐以数学计算验证一下
Well, I guess I've always been good at maths and computer science.
我一直擅长学习数学和计算机。
including Computer Science, Mathematics, Linguistics, things of that sort.
包括计算机科学、数学、语言学,这一类的。
I want to talk about Kahneman and Tversky's Prospect Theory, which is a very important and a little technical-- psychologists can become mathematical and technical as well.
我会谈到,卡尼曼和特维斯基的前景理论,这是很重要的理论,同时需要一定的数学计算,心理学家也可以精于计算,和擅用技巧
If you go and work that out, log2 log of two and you have two log two, by math you can show that for the line r series m 2*log2 is equal to two natural log of two, which is 1 1.386 which is greater than one.
如果你把它计算出来,这二者的对数,你会得到2个,通过数学,你会得到第r列,第m个值,等于,也就是1。386,这大于。
The so called binary system, 1 these zeros and ones that you'd probably have some vague sense underlie all computers today actually reduced to the exact same grade school kind of math and system except with computers, 1 because it's a lot easier to use just two digits, zero and one.
所谓的二进制就是,你觉得模糊的0与,在电脑上计算,事实上可以简化为跟小学数学一样,只是在电脑上计算而已,因为它更容易,仅仅使用两个数字,0与。
You might remember vaguely logarithms from high school math and such but what this suggests for us , the computer scientists, is that this is certainly a smarter, a faster algorithm.
你可能还会依稀记得,高中数学里的对数,这就给了我们这些计算机科学家们,一些启示,即,这种算法更智能,更迅速。
We have an error somewhere.
如果进行数学计算对的话。
Now, unlike high school math or in algebra Z where you call things X and Y and Z, in programming, in computer science, you're actually dealing with humans where it's useful to have a variable name that's more descriptive than X and Y and Z.
不像高中数学或者代数中,称为X和Y和,在程序设计和计算机科学里,你实际上是在和人打交道,在这里有个描述性比xyz更强的,变量名称是很重要的。
应用推荐