Code: Select all
\subsection*{Exercise 1}
\renewcommand{\theequation}{1.\arabic{equation}}
\begin{equation}
a
\end{equation}
\begin{equation}
b
\end{equation}
\subsection*{Exercise 2}
\renewcommand{\theequation}{2.\arabic{equation}}
\setcounter{equation}{0}
\begin{equation}
c
\end{equation}
\begin{equation}
d
\end{equation}
\renewcommand{\theequation}{2.\arabic{equation}}
actually does. Could somebody enlighten me?
stepec