Electroflotation of metal ions in waste water