\"\"

\

The function is \"integral

\

Where (a, b) = (1, 4), n = 6 and \"f

\

\"increment

\

\"a

\

\"x

\

\"x

\

\"x

\

\"x

\

 

\

\"x

\

\"x

\

\"f

\

\"f

\

\"f

\

\"Syntax

\

\"f \ \

\

\"f

\

 

\

\"f

\

\"integral(The Trapezoidal rule)

\

\"integral

\

\"integral

\

\"integral

\

\"integral

\

\"integral(The Simpson\\'s rule)

\

\"integral

\

\"integral

\

\"integral

\

\"integral

\

\"\"

\

Therefore     Trapezoidal                Simpson\\'s                        Exact

\

                     1.5859                          1.5833                             1.5833