///Bismillahir Rahmanir Rahim ///Author:Tanvir Ahmmad ///Dept.CSE,IU,Bangladesh #include< iostream > using namespace std; int main() { double up,low,h,arr_y[ 1009 ],sum= 0 ; cout<< "Given function f(x)=1/(1+X)" <<endl<< "Given the upper limit of integration : " ; cin>>up; cout<< "Given the lower limit of integration : " ; cin>>low; cout<< "Given the value of h : " ; cin>>h; int n=(up-low)/h; cout<< "So the value of n = " <<n<<endl; for ( int i= 0 ; i<=n; i++) ...
I am Tanvir Ahmmad from Bangladesh. Working as a competitive programmer. It will be very pleasure to help you. Happy coding...