文件名称:rom
介绍说明--下载内容均来自于网络,请自行研究使用
用Romberg算法计算定积分
#include <stdio.h>
#include <math.h>
#define MAX 10
double func(double a)
{
double y
if (a == 0)
return y = 1
else
return y = 4/(1+a*a) //return y = pow(a,2)
}-Romberg algorithm computes definite integrals using# include <stdio.h># Include <math.h># Define MAX 10 double func (double a) {double y if (a == 0) return y = 1 else return y = 4/(1+a* a) // return y = pow (a, 2) }
#include <stdio.h>
#include <math.h>
#define MAX 10
double func(double a)
{
double y
if (a == 0)
return y = 1
else
return y = 4/(1+a*a) //return y = pow(a,2)
}-Romberg algorithm computes definite integrals using# include <stdio.h># Include <math.h># Define MAX 10 double func (double a) {double y if (a == 0) return y = 1 else return y = 4/(1+a* a) // return y = pow (a, 2) }
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rom.c