耍个小聪明 摘要:# Python解决平方根问题 在python中,math库提供sqrt()函数来完成平方根操作。 那还有啥好说的?! ```python import math a = int(input…… 题解列表 2022年08月08日 1 点赞 0 评论 485 浏览 评分:10.0
迭代法求平方根python 摘要:参考代码:a=int(input())b=awhile True: c=(b+a/b)/2 if abs(b-c)<0.00001: …… 题解列表 2025年01月16日 1 点赞 0 评论 514 浏览 评分:10.0
C语言简单解法 摘要:需要理解题目所给的牛顿迭代法这个公式,理解之后就很好上手了#include#includedouble num(double a){ double x=a; double…… 题解列表 2025年02月26日 3 点赞 0 评论 985 浏览 评分:10.0