Monodimensional solver (in qt3)