Answer:
[tex]{:}\longrightarrow[/tex][tex]\sf AB=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]
[tex]{:}\longrightarrow[/tex][tex]\sf \sqrt {(4-1)^2+(1-0)^2}[/tex]
[tex]{:}\longrightarrow[/tex][tex]\sf \sqrt {(3)^2+(1)^2}[/tex]
[tex]{:}\longrightarrow[/tex][tex]\sf \sqrt {9+1}[/tex]
[tex]{:}\longrightarrow[/tex][tex]\sf AB=\sqrt {10}[/tex]