Optimal Control Of Age-Structured Populations In Economy, Demography, And The Environment door