Find a > 0 so the integral
int(exp(-ax)*cosx)dx from 0 to inf get as high value as possible.
The Attempt at a Solution
My way of solving this is to plot the integrand, i.e. exp(-ax)*cosx and check for different values of a. The larger a is, the smaller the area under the curve from 0 to inf gets, i.e. a should be as small as possible.
Is this the correct way of doing it?