# Euclidean Distance [closed]

I have the need to draw this project on Tikz, I have some doubts and I can not begin.

## closed as off-topic by Raaja, user156344, Dox, Kurt, SebastianoApr 2 at 15:05

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

\documentclass[tikz,border=3.14mm]{standalone}
\draw[dotted] (0,1) node[left]{$y_1$} -- (1,1) node[bbt,label=above:$A$] (A){} -- (1,0)
node[below]{$x_1$};
\draw[dotted] (0,4) node[left]{$y_2$} -- (4,4) node[bbt,label=above:$B$] (B){}  {} -- (4,0)
node[below]{$x_2$};
\draw[purple] (A) -- (B) node[midway,above,sloped] {$d_{A,B}$};