The decay of potassium-40