calculate earnings growth