double getWeightChange(double caloricIntake, int days) { double dailyCaloricSurplus = caloricIntake - getCalorieNeedPerDay(); return dailyCaloricSurplus * days / 7700; // 1 kg of fat = 7700 kcal }