文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.