I need to get the following equation inside a sentence
Code: Select all
If $\bar{Y}=\frac{\rm n_1 \bar{X_1}+n_2 \bar{X_2}}{\rm n_1+n_2}$, then
Code: Select all
If $\bar{Y}=\frac{\rm n_1 \bar{X_1}+n_2 \bar{X_2}}{\rm n_1+n_2}$, then
Code: Select all
\documentclass{article}
\begin{document}
If $\displaystyle\bar{Y}=\frac{\rm n_1 \bar{X_1}+n_2 \bar{X_2}}{\rm n_1+n_2}$, then
\end{document}