链接:https://acs.jxnu.edu.cn/problem/HDU1012
题目:
描述:
A simple mathematical formula for e is
where n is allowed to go to infinity. This can actually yield very accurate approximations of e using relatively small values of n.输出:
Output the approximations of e generated by the above formula for the values of n from 0 to 9. The beginning of your output should appear similar to that shown below.
翻译如下
描述:
有一个简单的公式如下:

n趋向于无穷。当n相对很小的时候,就可以通过这个格式求出非常精确的e的近似值。
输出:
当n为0~9时,输出通过公式计算出的对应的e的值。输出的格式开头应该与下面的样例输出一致。
本文介绍了一种计算自然对数的底数e的方法,通过一个简单的数学公式,随着变量n逐渐增大,可以得到越来越精确的e的近似值。文章详细解释了如何使用该公式计算当n从0到9时e的近似值。

866

被折叠的 条评论
为什么被折叠?



