The function is
Let
Where (a, b) = (0, 2) and
(Trapezoidal )
(Simpsons)
Therefore Trapezoidal Simpson\\\\'s
1.435 1.4562