Addded the formula for the answer to the user.