![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
TA-MEI
这个作者很懒,什么都没留下…
展开
-
牛顿迭代法求解方程
C语言编程百例 #include <stdio.h> #include <math.h> #include <stdlib.h> int Function(double,double *,double *); int Newton(double *,double,int); int Function(x,f,dy) double x; double *f; double *dy; { *f = x*x*(x-1)-1; *dy = 3*x*x-2*x; retu原创 2020-07-16 14:58:26 · 479 阅读 · 0 评论 -
C语言 二分法求解方程
C语言 二分法求解方程 C语言精彩编程百例 #include <stdio.h> #include <math.h> #include <malloc.h> #include <stdlib.h> double Func(double); int BisectRoot(double,double,double,double,double *,int,int *); void main() { int i,n,m; double a,b,h,eps,*x原创 2020-07-16 14:53:51 · 2283 阅读 · 0 评论