// if h or step size is given , then n= upper-lower/h
#include<iostream>
#include <iomanip>
#include<cmath>
using namespace std;
// Define the fn whose integral you want to calculate
double f(double x)
{
double a=1/(1+pow(x,1));
return a;
}
// Set precision and intedentation
void print_num(float x, int width = 10, int precision = 10)
{
cout << setw(width) << setprecision(precision) << x;
}
int main()
{
// declare the variables
float lower_limit, upper_limit, integration=0.0, step_size, k;