If one root is square of the other root of the equation x2+px+q=0, then the relation between p and q is
The equation x2+px−q=0 has one root as a square root of the other. If p3+q2=q(1+kp), find the value of k.