数学小故事:高斯巧解算术题
- 时间:2022-06-01 16:30:27
- 分类:数学世界
- 阅读:214 次
高斯是德国伟大的数学家。小时候他就是一个爱动脑筋的聪明孩子。还是上小学时,一次一位老师想治一治班上的淘气学生,他出了一道算术题,让学生从1+2+3……一直加到100为止。他想这道题足够这帮学生算半天的,他也可以得到半天悠闲。
谁知,出乎他的意料,刚刚过了一会儿,小高斯就举起手来,说他算完了。老师一看答案,5050,完全正确。老师惊诧不已,问小高斯是怎么算出来的。
高斯说,他不是从开始加到末尾,而是先把1和100相加,得到101,再把2和99相加,也得101......最后50和51相加,也得101,这样一共有50个101,结果当然就是5050了。
聪明的高斯受到了老师的表扬。
推荐阅读:How to Find All Duplicates in an Array using Python? Bruteforce and Rolling Hash Algorithm to Compute the Longest Hap How to Choose the Right Products and Services to Blog About Buying a Home as a Blogger 5 Social Media Blogs to Know in 2020 How Tik Tok Works and How It Affects You as a Blogger 7 Tips to Instantly Improve Your Social Media Marketing 5 Qualities of a Blog That Makes Money How COVID-19 is Affecting Bloggers How to Hire the Right Copywriter for Your Blog
- 评论列表
-
- 添加评论