\documentclass[12pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\RequirePackage{amsmath,amssymb,latexsym}
\pagestyle{empty}
\begin{document}
$  \rho(A,\pi)=\dfrac{\vert Ax_{a}+By_{a}+Cz_{a}+D\vert}{\sqrt{A^{2}+B^{2}+C^{2}}}  $
\end{document}
