当前位置: 首页 > news >正文

免费建立网站教程wordpress文章到微信二维码

免费建立网站教程,wordpress文章到微信二维码,网站开发的硬件设备,wordpress做查询系统《Programming Abstractions In C》学习第58天,p166-p175总结。 一、技术总结 1.斐波那契数列(Fibonacci Sequenc) (1)斐波那契数列来源 斐波那契数列来自于《Liber Abaci》一书里兔子繁殖问题,相关资料很多,这里不赘述。 (2)关于《Libe…

《Programming Abstractions In C》学习第58天,p166-p175总结。

一、技术总结

1.斐波那契数列(Fibonacci Sequenc)

(1)斐波那契数列来源

斐波那契数列来自于《Liber Abaci》一书里兔子繁殖问题,相关资料很多,这里不赘述。

(2)关于《Liber Abaci》一书

《Liber Abaci》——Liber:a book(意思是“书”);Abaci:abacus的复数形式(意思是“算盘”)。

根据Laurence Sigler《Fibonacci’s Liber Abaci: A Translation into Modern English of Leonardo Pisano’s Book of Calculation》一书第9页内容“One should here again make the point, that while derived from the word abacus the word abaci refers in the thirteenth century paradoxically to calculation without the abacus. Thus Liber abaci should not be translated as The Book of the Abacus…”在13世纪, abaci是指直接使用印度数字(Hindu numerals),而不用“算盘”进行计算。所以,这本书恰当的中文译名应该是《计算之书》(The Book of Calculation,注:纪志刚翻译的中文版用的就是这个名字)。

(3)关于“斐波那契”这个名字

既然称为斐波那契数列,那么作者的名字是否叫斐波那契?根据百科说法是:Liber Abaci is a historic 1202 Latin manuscript on arithmetic by Leonardo of Pisa, posthumously known as Fibonacci。Fibonacci是“filius Bonacci”,即“son of Bonacci”(波那契之子)。参考Keith Devlin所著《The Man of Numbers: Fibonacci’s Arithmetic Revolution》一书)。

2.递推关系(recurrence realtion)

p173:

tn = tn-1 + tn-2

An expression of this type, in which each element of a sequence is defined in terms of earlier elements, is called a recurrence relation。

3.斐波那契序列的C语言实现

/** File: fib.c* -----------* This program lists the terms in the Fibonacci sequence with* indices ranging from MinIndex to MaxIndex*/#include <stdio.h>
#include "genlib.h"/* Constants */
#define MinIndex 0
#define MaxIndex 12/* private function prototype */
int Fib(int n);/* Main program */int main() {int i;printf("This program lists the Fibonacci sequence.\n");for (i = MinIndex; i < MaxIndex; i++) {printf("Fib(%d)", i);if (i < 10) { // 打印对齐printf(" ");}printf(" = %4d\n", Fib(i));}return 0;
}/** Function: Fib* Usage: t = Fib(n)* -----------------* This function returns the nth term in the Fibonacci sequence* using a recursive implementation of the recurrence relation** Fib(n) = Fib(n - 1) + Fib(n - 2)*/int Fib(int n) {if (n < 2) {return n;} else {return (Fib(n - 1) + Fib(n - 2));}
}

二、英语总结

1.suspcious什么意思?

答:

(1)suspicious < suspicion:adj. feel doubt or not trust(可疑的)。 语法结构:be suspicious of。

(2)suspicion < suspect:c/u.

(3)suspect: vt. sub-(“up to”) + *spek-(“to observe”),The notion behind the word is “look at secretly,” hence, “look at distrustfully”(怀疑)。

2.supersede是什么意思?

答:p168,The frame for Fact temporarily supersedes the frame for Main。vt. super-(above) + *sed-(to sit),即“displace, replace”之意。

3.essence是什么意思?

答:u. the basic or most import quality of sth(本质、核心)。示例:p174, The essence of recursion is to break problems down into simpler ones that can be solved by calls to exactly the same function。形容词格式:essential。之前老是不记得essential是什么意思,这里对比着来记。

三、参考资料

1. 编程

(1)Eric S.Roberts,《Programming Abstractions in C》:https://book.douban.com/subject/2003414

2. 英语

(1)Etymology Dictionary:https://www.etymonline.com

(2) Cambridage Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)

http://www.15wanjia.com/news/168682.html

相关文章:

  • 微网站建设包括哪些方面外贸网站建设 广州
  • 百石网怎么做网站网页设计基础介绍
  • 做空调的网站产品销售网站模块如何设计
  • 义县网站建设四川住房和城乡建设九大员网站
  • 主机怎么做网站二次跳转设计类的网站和简介
  • 移动网站开发服务如何做产品网站推广
  • 好的淘客网站网站开发 微信开发 微信营销
  • 网站app开发费用古城做网站的公司
  • 深圳网站设计公司哪家好查看网站开发语言方法
  • 淘宝二官方网站是做啥的深圳网站建设代理
  • wordpress添加自定义字段面板新网站如何做seo
  • 整站关键词排名优化网站被管理员权限
  • 建设网站商城需要多少费用吗有域名有空间怎么做网站
  • 网站界面设计规则广告设计公司服务承诺
  • 转转怎么做钓鱼网站wordpress 关闭搜索功能
  • 宝安网站设计网站建设哪家快闵行区做网站公司
  • 建设新农村网站大气寓意好的公司名字
  • 深圳电商网站设计网页设计与制作教程江西高校出版社
  • html5建一个网站seo整站优化报价
  • 商城网站seo自治区建设厅网站
  • 那个网站做毕业设计西安网站建设问问q778925409耍強
  • 怎么打开自己做的网站百度云登录
  • 政务网站开发方案上海市建设机械行业协会网站
  • 网站设置了跳转被qq拦截娱乐平台网站开发免费
  • 10大最佳免费建站软件推荐惠州规划建设局网站
  • 烟台有哪些网站建站推广公司石家庄新钥匙做网站
  • 企业网站的主要功能优秀网页设计作品案例欣赏
  • 高端的咨询行业网站制作济源做网站公司
  • 自己有网站 做app吗怎么做钓鱼网站
  • 东莞英文网站设计免费漫画软件 全免费