数值积分方法的C语言实现和验证(数值计算方法)

一  复合梯形公式 二  复合辛普森公式 三  C语言程序实现 #include <stdio.h> #include <math.h> typedef float (*funType)(float x); float fun(float x)       //测试算例函数 {     return x*x; } float SnFun(funType fp,float a,float b,int
相关文章
相关标签/搜索