重读《Programming Pearls》之七:The Back of The Envelope

 

封底计算

 

涉及的是日常生活中的估计问题,比较常用。

 

 

 

*****************************************************************************

Basic Skills:

1、Two answers are better than one.

 

2、Quick checks. 根据波利亚的《How To Solve It》,量纲检测法、舍九法等

 

3、Rules of Thumb(经验法则).

 

"Rule of 72":Assume that you invest a sum of money for y years at an interest rate of r percent per year. The financial version of the rule says that if r*y=72, then your money will roughly double.    

72法则:假如你投入一笔钱,时间是y年,每年的利率是r%。则当r*y=72时,钱将翻倍。

 

4、Practice.这个基本上市不变的真理了(虽然说只有改变时不会变的)

 

 

 

 

 

 

 

 

Performance Estimates.性能估计

 

Safty Factors.安全系数

 

 

Little‘s Law:The average number of things in the system is the product of the average rate at which things leave the system and the average time each one spends in the system.

队列中的平均物体数量是进入量和平均滞留时间的乘积。

 

 

Principles

Everything should be made as simple as possible, but no simpler.

 

 

相关:

 

有一本书叫《How To Lie With Statistics》

 

费米近似的故事    

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值