fixing cost equation