Generic solution of the quartic equation + 3D interactive application to a geometrical problem