We are tasked with finding the time T {\displaystyle T} for which the average population from T {\displaystyle T} to T + 4 {\displaystyle T+4} is as large as possible. This function is given by