Method of inducing chemical change by passing current from anode to cathode