Cpp, Numerical Computation, Programming, Computer Science, Computation.
different algorithms: rectangular method and trapezoidal method. In rectangular method the function’s interval is divided by small rectangles. Our job is to for which we calculate just the area and at the end summ all computed rectangle areas. The discussed method uses following formula to compute