我们都知道 斐波那契数列 的定义如下:
We all know the Fibonacci sequence is defined as:
and the terminating conditions are
其中
First few Fibonacci numbers are
前面几项的值为:
0, 1, 1, 2, 3, 5, 8, 13, 21 …
If you code, that is easy, however, it is even easier just using Excel spreadsheet to calculate the Fibonacci numbers
写程序很简单, 但是不用写程序仅用EXCEL也可以分分钟求出前几项的值.
Open Excel, 打开 Excel,
Put 0 at A1 在A1输入0
Put 1 at A2 在A2输入=A1+A2
Click and Drag A3 to fill the other cells in the same A:A column. 然后点击A3的右下角往下拉到底, 立马就能计算斐波那契数列, 很神奇有木有?
Excel autocomplete the formulas e.g. A4=A2+A3, A5=A3+A4 这是因为 EXCEL强大的公式自动填补, 如: A4=A2+A3, A5=A3+A4以此类推…..
英文: Iterative Computing Fib Number using Excel
强烈推荐
- 英国代购-畅购英伦
- TopCashBack 返现 (英国购物必备, 积少成多, 我2年来一共得了3000多英镑)
- Quidco 返现 (也是很不错的英国返现网站, 返现率高)
- 注册就送10美元, 免费使用2个月的 DigitalOcean 云主机(性价比超高, 每月只需5美元)
- 注册就送10美元, 免费使用4个月的 Vultr 云主机(性价比超高, 每月只需2.5美元)
- 注册就送10美元, 免费使用2个月的 阿里 云主机(性价比超高, 每月只需4.5美元)
- 注册就送20美元, 免费使用4个月的 Linode 云主机(性价比超高, 每月只需5美元) (折扣码: PodCastInit2022)
- PlusNet 英国光纤(超快, 超划算! 用户名 doctorlai)
- 刷了美国运通信用卡一年得到的积分 换了 485英镑
- 注册就送50英镑 – 英国最便宜最划算的电气提供商
- 能把比特币莱特币变现的银行卡! 不需要手续费就可以把虚拟货币法币兑换
微信公众号: 小赖子的英国生活和资讯 JustYYUK