69 cout<<
"Lower Limit :" << llim <<
"\n" ;
70 cout<<
"Upper Limit :" << ulim <<
"\n" ;
71 cout<<
"Number of points :" <<
N <<
"\n" ;
72 cout<<
"Step length :" << h <<
"\n" ;
73 for (
Numeric theta=0;theta<ulim+1;theta=theta+1)
80 single_trapez(X,A1,llim,ulim,h);
81 cout <<
"Integral of the Expression "<<
" " <<X<<
"\n" ;
100 cout<<
"Number of points inner integral :" <<
N1 <<
"\n" ;
101 cout<<
"Step length - inner integral:" << h1 <<
"\n" ;
102 cout<<
"Number of points outer integral:" << N2 <<
"\n" ;
103 cout<<
"Step length - outer integral:" << h2 <<
"\n" ;
104 for (
Numeric i=llim2;i<ulim2+1;i=i+1)
106 for (
Numeric j=llim1;j<ulim1+1;j=j+1)
113 double_trapez(Y2,B1,llim1,llim2,ulim1,ulim2,h1,h2);
114 cout <<
" Double Integral of the Expression "<<
" " <<Y2<<
"\n" ;
121 for (
Numeric i=llim2;i<ulim2+1;i=i+1)
123 for (
Numeric j=llim1;j<ulim1+1;j=j+1)
128 for (
Numeric i=llim2;i<ulim2+1;i=i+1)
133 single_trapez(CC,C1,llim1,ulim1,h1);
137 single_trapez(CCC,CC1,llim2,ulim2,h2);
138 cout <<
" Double Integral of the Expression through successive single integrations "<<
" " <<CCC<<
"\n";