Cpp, Numerical Computation, Programming, Computer Science, Computation.
the integral for certain function and interval. eq6 by author More precise method applies not rectangles but trapezoids. In this can following numerical formula has to be applied. eq7 by author Above equation has been applied in following code. The program computes the value of pi using the