2023年4月17日
摘要: 一、问题描述: 编写程序求∏的值,公式如下: ∏ = 16arctan(1/5) - 4arctan(1/239) arctanx = x - x3/3 + x5/5 - x7/7 + …直到级数某项绝对值不大于10-15为止;∏和x均为double型 二、设计思路: 1.写一个arctan函数; 阅读全文
posted @ 2023-04-17 20:00 轻挼草色 阅读(212) 评论(0) 推荐(0)