摘要: import math def funcos(eps, x): result = 0 # 初始化结果 n = 0 # 从第0项开始 while True: # 计算当前项的值 term = ((-1) ** n) * (x ** (2 * n)) / math.factorial(2 * n) # 阅读全文
posted @ 2025-03-25 18:23 Thanatos。syts 阅读(2) 评论(0) 推荐(0)