会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Thanatos-syst
博客园
首页
新随笔
联系
订阅
管理
2025年3月25日
软工博客16
摘要: 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)
公告