Applications of control theory to economic analysis