[Tex/LaTex] equation number problem


I'm relatively new to TeX/LaTeX, writing classroom notes. here's what I got:

\begin{equation} \label{eqn:constantspeed}

It is very important to remember that Equation \ref{eqn:constantspeed} only works for objects moving at \emph{constant speed}. 

The pdf output has (3.1) as the number on the left side of the page where the equation is but in the text that follows, it shows "Equation 3". Please tell me what I'm doing wrong and how to make the numbers match. Thank you.

Best Answer

The equation number is only 3.1, but the correct referring is (3.1), as you mention. To achieve this, we use \eqref{eqn:constantspeed} instead of \ref{eqn:constantspeed}. As well, in that case we usually omit the word Equation since the parentheses themselves stres that it's an equation reference.