A(2,3);B(4,6);M(-2;7/2)
Ecuatia dreptei AB:
(x-xA)/(xB-xA)=(y-yA)/(yB-yA)
(x-2)/2=(y-3)/3 <=> 3(x-2)=2(y-3) //am scapat de numitori amplificand
3x-6=2y-6
3x-2y=0
Distanta de la un punct la o drepta:
d(M,d)=|a*Xo-b*Yo-c|/rad(a*a-b*b)=|3*(-2)-2*7/2|/rad(3*3+2*2)=|-6-7|/rad(13)=13/rad(13)=13*rad(13)/13=rad(13);