How to write this equation in latex?
I wrote this code but not getting it.
E_{t-2}P_t=\frac{1}{2}(E_{t-2}m_t+\underbrace{E_{t-2}v_t}_\textrm{=0}-\underbrace{E_{t-2}u_t}_\textrm{=0}+(\frac{(1-\zeta )}{2})(\underbrace{E_{t-2}E_{t-1}P_t}_\textrm{=E_{t-2}}+\underbrace{E_{t-2}E_{t-2}P_t}_\textrm{=E_{t-2}})+(\frac{\zeta }{2})(E_{t-2}P_{t-1}+E_{t-2}P_{t-2})
\usepackage
s to make your code compilable..tex
file and try to compile it, it won't work. So then I have to do the job of adding a template, with a\documentclass
and perhaps\usepackage{amsmath}
and so on,\begin{document}
etc. and you could have saved me that tiny chore. It's polite and helps us to help you.