F=±(q-1(u-p)2+q)-1/2,