Observe the table :
\The number of intervals are .
Substitute corresponding values in above equation.
\Simpsons Rule :
.
The energy used during that time period midnight to is
.
The energy used during that time period midnight to is
.