
\documentclass[12pt]{report}
\usepackage{amsmath}

\usepackage{xepersian}

 \numberwithin{equation}{section}
 \begin{document}
 
 \chapter{اقتضایی}
 \section{یک زیرفصل}

 \subsection{شبکه}
 
  \subsection{مثال}
  
 \begin{equation}
  L' = {L}{\sqrt{1-\frac{v^2}{c^2}}}
 \end{equation}
 
  \numberwithin{equation}{chapter}
 
  \chapter{خودرو}
  \section{یک زیرفصل}
 
  \subsection{موبایل}
  
   \section{مثال}
   
  \begin{equation}
   L' = {L}{\sqrt{1-\frac{v^2}{c^2}}}
  \end{equation}
 
\end{document}