Integral of x from 0.0 to 1.0:
Iterative method (step = 0.01): 0.5000000000000002
Recursive method (epsilon = 1.0E-4): 0.5
Integral of x^2 from -1.0 to 1.0:
Iterative method (step = 0.01): 0.6666500000000013
Recursive method (epsilon = 1.0E-4): 0.666748046875
Integral of x^3 from 0.0 to 1.0:
Iterative method (step = 0.01): 0.24998750000000045
Recursive method (epsilon = 1.0E-4): 0.2500346712768078
Integral of x^4 - 2x^2 from -2.5 to 2.5:
Iterative method (step = 0.01): 18.496988055631086
Recursive method (epsilon = 1.0E-4): 18.229269626194796
Integral of x^5 - x^4 - 6x^3 + 4x^2 + 8x from -2.5 to 2.5:
Iterative method (step = 0.01): 2.705393452571584
Recursive method (epsilon = 1.0E-4): 2.6041584119557895
Integral of x^5 - x^4 - 6x^3 + 4x^2 + 8x from -2.5 to 2.5:
Iterative method (step = 0.1): 2.6395687500000116
Recursive method (epsilon = 0.01): 2.6105535773142465
Integral of sin(x) from 0.0 to 3.141592653589793:
Iterative method (step = 0.01): 1.999972991681736
Recursive method (epsilon = 1.0E-4): 1.9998761900442124
Integral of e^(-x^2) from -3.0 to 3.0:
Iterative method (step = 0.01): 1.7724159002839825
Recursive method (epsilon = 1.0E-4): 1.772525395771758