Numbering of Equations

The following commands change the numbering of equations to include the current section:

% ...
\usepackage{amsmath,amsfonts}
\numberwithin{equation}{subsection}
% ...
\begin{document}
% ...
\end{document}