The integral is
.
The function is
.
Graph the function:
\Observe the graph:
\The function
is positive on the interval
and remaining is negative.
The integral
is maximum on the interval
.
.
.
The constants
and
maximize the integral.
and
maximize the integral.