Created formula for calculating productivity

Created formula for calculating productivity