蜗牛爬井问题

  • 时间:2020-06-19 15:03:42
  • 分类:数学世界
  • 阅读:90 次

数学题-蜗牛爬井问题:一只蜗牛住在井底,坐井观天,以为天只有井口那么大。后来,听说井上面还有很大的天地,它下定决心,要爬到井上面去看看世界,开开眼界。

数学题解答:且说蜗牛每天,先向上爬三米,然后向下退两米,要是井深八米,这样爬要多少天才能到达井口?这太容易了。蜗牛每天先向上爬三米,然后向下退两米,这就是说它每天向上爬一米。所以,8(米)÷1(米)=8(天)。

这样算错了。因为当蜗牛爬到离井口三米的地方,它只要一天,实际上还不到一天就爬到了井口。正确的算法是:

(8—3)÷(3—2)+1=5÷1+1=6(天),实际上不到六整天。

这个例子说明:在解题时,要注意你后来解的问题,是不是与原来的问题相同。或者说,是不是与原来的问题等价。我们说:蜗牛每天先上爬三米,然后下退两米,井深八米,多少天爬到井口?蜗牛每天上爬一米,井深八米,多少天爬到井口?这两个问题不是等价的。

蜗牛爬井

推荐阅读:
ReactiveX/RxJava Tutorial: Compute the Fibonacci Numbers using R  What are Big4 Tech Companies looking for in the technical interv  Design a Moving Average Class for Data Stream  3 Ways to Protect Your Website from Negative SEO  Algorithm to Check if A String Matches a Pattern  How to Get Free HTTPS Certificates via acme.sh?  Algorithm to Replace All ?’s to Avoid Consecutive Repeatin  How Does C++ STL min_element, max_element, minmax_element work f  Using the External Fan to Cool the Hot AMD Radeon HD 6700 Graphi  Algorithms to Compute the Dot Product of Two Sparse Vectors 
评论列表
添加评论