摘要: 完结撒花!历时两天! 函数题 6-1 def fn(a, n): number = 0 sum = 0 for i in range(1, n + 1): number = number * 10 + a sum += number return sum 6-2 def prime(k): if k 阅读全文
posted @ 2022-04-01 13:55 Sdchr 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 【6-1】Numerical Summation of a Series 求:\(\phi(x)\),其中 \(x\) 取 \(0.0, 0.1, 0.2, ..., 300.0\) 条件: 1)\(\phi(x) = \sum_{k = 1} ^ {\infty} \frac{1}{k(k + x 阅读全文
posted @ 2022-04-01 13:54 Sdchr 阅读(634) 评论(0) 推荐(0) 编辑