This document discusses the Nernst equation and its role in determining the membrane potential of cells. It introduces concepts like the resting membrane potential, selective permeability of cell membranes to different ions, and the Gibbs-Donnan equilibrium. It then explains the Nernst equation, which calculates the equilibrium potential for each ion based on its concentration gradient across the cell membrane. Finally, it discusses the Goldman-Hodgkin-Katz equation, which integrates the effects of multiple ions, and the role of the sodium-potassium pump in maintaining ion concentration gradients.