This is LaTeX code:
[latex]
P=\frac{av_a}{2}
[/latex]