If A(1,p2),B(0,1) and C(p,0) are the coordinates of three points, then the value of p for which the area of triangle ABC is the minimum is