Fluorine is prepared by
Oxidation of HF
Electrolysis of KF
Electrolysis off fused KHF2
Decomposition of HgF2
KHF2→KF+HFKF→K++F−
At cathode: K++e−→K
2K+2HF→2KF+H2
At anode: F- →F+e−
F+F→F2