# You can't use \eqno' in math mode [closed]

Pls help me! I got some error message in TeXniCenter about this equation. I tried to look for errors in parentheses, but could not find.

$$P=\frac{\hat{U}\hat{I}}{2T}\int\limits^{T}_{0} \cos \left(\varphi \right)-\cos \left(2\omega {t}-\varphi \rigth)\,{dt}=\frac{\hat{U}\hat{I}}{2T} \left[{T\cos\left(\varphi\right)-\frac{\sin \left(2\omega {t}-\varphi \rigth)}{2\omega}}\right]^{T}_{0}$$


This is the result after the errors:

5 errors:

! Undefined control sequence.
l.223 ...ht)-\cos \left(2\omega {t}-\varphi \rigth
)\,{dt}=\frac{\hat{U}\hat{...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
<argument> \sin \left (2\omega {t}-\varphi \rigth
)
l.223 ...eft(2\omega {t}-\varphi \rigth)}{2\omega}
}\right]^{T}_{0}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing \right. inserted.
<inserted text>
\right .
l.223 ...eft(2\omega {t}-\varphi \rigth)}{2\omega}
}\right]^{T}_{0}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing 2' now; then
my insertion and my current dilemma will both disappear.

! You can't use \eqno' in math mode.
\endmathdisplay@a ...\df@tag \@empty \else \veqno
\alt@tag \df@tag \fi \ifx ...
l.224

Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing I}' or I\$' or I\par'.

! Missing \right. inserted.
<inserted text>
\right .
l.224

I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing 2' now; then
my insertion and my current dilemma will both disappear.

-

## closed as too localized by egreg, Frank Mittelbach, cgnieder, Andrey Vihrov, WernerNov 10 '12 at 17:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

typo: "rigth" -> "right" –  Memming Nov 10 '12 at 16:40
Please, look at the first error message, not at the last one. –  egreg Nov 10 '12 at 16:51
THX, OMG, it was a simple mistake. –  Livius Nov 10 '12 at 16:51

! Undefined control sequence.

It says that the command at the end of the top line was never defined, right? That command is \rigth.
Fixing that by using the correct name \right` will probably resolve your issues, the rest are most likely spurious errors as LaTeX tried to recover.