(Q2)Find the distance covered by the knight in each of its 8 moves i.e Find the distance of A,B,C,D,E,F,G,and H from the origin where A(-1,2),B(1,2),C(2,1),D(2,-1),E(1,-2),F(-1,-2),G(-2,-1),H(-2,1).

Origin(0,0)

Points A,B,C,D,E,F,G and H

Distance of any point P(x,y) from the origin is √( (x-0)2 + (y-0)2) = √( x2 + y2)

OA = √( -2 + 2) = √

OB = √( 2 + 2 = √

OC = √( 2 + 2 = √

OD = √( 2 + (-2)) = √

OE = √( 2 + (-2 ))= √

OF = √( -2 + (-2)) = √

OG = √( -2 + (-2 )) = √

OH = √( -2 + ( 2)) = √