摘要: 6.牛顿迭代法求方程根 #include<bits/stdc++.h> using namespace std; double f(a,b,c,d){ double x0,x=1.5,f,fd; do{ x0=x; f=a*x0*x0*x0+b*x0*x0+c*x0+d; fd=3*a*x0*x0+ 阅读全文
posted @ 2023-04-24 21:05 poemgranate 阅读(14) 评论(0) 推荐(0)