Quadratic application problem