⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 int.h

📁 数值积分
💻 H
字号:

#ifndef _INTEGRATE_H
#define _INTEGRATE_H


#include <iostream>//for screen and keyboard input and output
#include <fstream>//for disk file input and output
#include <cmath>//for using C math function

using namespace std;

const int n=5;

class Integrate
{
 public:
        Integrate();//从文件输入数据
        void Inte();//计算积分值

 private:
        int m; //节点个数
        double a,b; //区间大小
        double Xknot[n][n]; //节点值
        double Aknot[n][n]; //系数值
        double Function(double);//被积函数
};
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -