谢谢 lihp2020 指正!6#有问题, 7#没问题。谢谢 lihp2020 !
(1), 大部分教科书的算法。Table[N[((n + 1)/n)^n, n/3], {n, 4, 18}]
2., 2.5, 2.5, 2.5, 2.57, 2.58, 2.59, 2.604, 2.613, 2.621, 2.6272, 2.6329, 2.6379, 2.64241,2.64643,2.65003
(2), 7#的算法。Table[N[((2 n^3 + n^2 - 2)/(2 n^3 - n^2 + 2))^n, n/3], {n, 4, 19}]
2., 2.5, 2.6, 2.6, 2.64, 2.65, 2.67, 2.675, 2.682, 2.688, 2.6918, 2.6952, 2.6980, 2.70030,2.70224,2.70388
(3), 标准答案: Table[N[E, n/3], {n, 4, 19}]
3., 2.7, 2.7, 2.7, 2.72, 2.72, 2.72, 2.718, 2.718, 2.718, 2.7183, 2.7183, 2.7183, 2.71828,2.71828,2.71828
(4), 7#的算法。Table[N[((2 n + 1)/(2 n - 1))^n, n/3], {n, 4, 19}]
3., 2.7, 2.7, 2.7, 2.72, 2.72, 2.72, 2.720, 2.720, 2.720, 2.7194, 2.7193, 2.7192, 2.71907,2.71898,2.71891
(5), 大部分教科书的算法。Table[N[(n/(n - 1))^n, n/3], {n, 4, 19}]
3., 3.1, 3.0, 2.9, 2.91, 2.89, 2.87, 2.853, 2.841, 2.831, 2.8222, 2.8148, 2.8084, 2.80280,2.79785,2.79345 |