数学小故事:高斯巧解算术题
- 时间:2022-06-01 16:30:27
- 分类:数学世界
- 阅读:191 次
高斯是德国伟大的数学家。小时候他就是一个爱动脑筋的聪明孩子。还是上小学时,一次一位老师想治一治班上的淘气学生,他出了一道算术题,让学生从1+2+3……一直加到100为止。他想这道题足够这帮学生算半天的,他也可以得到半天悠闲。
谁知,出乎他的意料,刚刚过了一会儿,小高斯就举起手来,说他算完了。老师一看答案,5050,完全正确。老师惊诧不已,问小高斯是怎么算出来的。
高斯说,他不是从开始加到末尾,而是先把1和100相加,得到101,再把2和99相加,也得101......最后50和51相加,也得101,这样一共有50个101,结果当然就是5050了。
聪明的高斯受到了老师的表扬。
推荐阅读:Checklist for Choosing a Perfect WordPress Blog Theme 15 Mindset Hacks to Avoid Blogging Failure Can Retailers Refuse Refunds Using POS Software? How to Create Sponsorship Proposals For Your Blog 7 Top Investment Blogs For Newbie And Veteran Investors Algorithm to Find the Winner on a Tic Tac Toe Game The PUSHD/POPD Implementation in Pure Windows Batch Three ways to Reverse a List/Array/Tuple in Python How to Compute the Interval List Intersections using Two Pointer How to Summary Ranges using O(N) Two Pointer Algorithm?
- 评论列表
-
- 添加评论