Розрахунок: nKdBSu - 1

AB  = 
saknis( (x2-x1)^2+ (y2-y1)^2)
AB = saknis( (x2-x1)^2+ (y2-y1)^2)AB = saknis((x2-x1)^2+(y2-y1)^2)