formula to separate rock from iron ore