The odor of a smelly shower drain can be eliminated by removing debris from the drain. Discarding the odor-causing material in the garbage outside the home ensures the smell does not invade other areas. Boiling water dissolves oils and grease deposited on the sides of the pipe in the drain, which add to the smell.
Luckily for us, Nernst derived an equation that allows us to determine at what point the two forces (chemical and electrical gradients) balance each other - in other words, at what point we have an ionic equilibrium.
Electrical work is the maximum work that the system can produce and so is equal to the change in free energy. Thus, anything that can be done with or to a free energy change can also be done to or with a cell potential. The Nernst equation relates the cell potential at nonstandard conditions to the logarithm of the reaction quotient.