Generalized Makeham's formula and economic profitability