Concept: The center of the circle is the intersection of two perpendicular lines. The square of the length of the chord is found using the distance from the center to the chord.Formula: Distance from point (x1,y1) to line Ax+By+C=0 is A2+B2∣Ax1+By1+C∣. For a circle with center (h,k) and radius r, and a chord of length L at a distance d from the center, r2=d2+(2L)2.Solution:The lines x+(k−1)y+3=0 and 2x+k2y−4=0 are perpendicular.The condition for perpendicularity of lines A1x+B1y+C1=0 and A2x+B2y+C2=0 is A1A2+B1B2=0.So, 1(2)+(k−1)k2=0⇒2+k3−k2=0⇒k3−k2+2=0.By inspection, k=−1 is a root: (−1)3−(−1)2+2=−1−1+2=0.The lines become x−2y+3=0 and 2x+y−4=0.Solving these for intersection: Multiply first by 2: 2x−4y+6=0. Subtract from the second: (2x+y−4)−(2x−4y+6)=0⇒5y−10=0⇒y=2.Substitute y=2 into x−2y+3=0: x−2(2)+3=0⇒x−4+3=0⇒x=1.The center of the circle is (1,2).Since the circle passes through the origin (0,0), the radius squared is r2=(1−0)2+(2−0)2=12+22=1+4=5.The equation of the circle is (x−1)2+(y−2)2=5, which is x2−2x+1+y2−4y+4=5⇒x2+y2−2x−4y=0.The line x−y+2=0 intersects the circle. The distance d from the center (1,2) to this line is:d=12+(−1)2∣1−2+2∣=2∣1∣=21.Let AB be the length of the chord. Then r2=d2+(2AB)2.5=(21)2+(2AB)25=21+4(AB)25−21=4(AB)229=4(AB)2(AB)2=29×4=18.Answer: 18