exponentintegralfunction.cpp
来自「计算机常用的计算数值方法」· C++ 代码 · 共 19 行
CPP
19 行
//ExponentIntegralFunction.cpp
//指数积分函数
#include <iostream> //模板类输入输出流标准头文件
#include <SpecialFunction.h> //数学变换头文件
using namespace std; //名字空间
void main(void)
{
double x, y;
for(int i=0; i<10; i++)
{
x = 0.05 + 0.2 * i;
y = ExponentIntegralFunction(x);
cout << " x = " << x << " ExponentIntegralFunction(x) = " << y << endl;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?