lagrange apllication in mineral processing