Title: Optimal population and capital over time