Friends: Can anybody tell me why the letter "e" of entropy does not show up in the following snippet?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{aligned}
\mathcal entropy[9,5] & = \mathcal - [(\frac{9}{14})*lg(\frac{9}{14}) + (\frac{5}{14})*lg(\frac{5}{14})] \\
& = - [(\frac{9}{14})*((lg(9)-lg(14)) + (\frac{5}{14})*((lg(5) - lg(14))] \\
& = - [(\frac{9}{14})*(\frac{log(9)}{log(2)}) - (\frac{log(14)}{log(2)}) + (\frac{5}{14})*(\frac{log(5)}{log(2)}-\frac{log(14}{log(2)})]\\
& = 0.940
\end{aligned}
\end{equation}
\end{document}

\mathcalto do? – Alan Munn Apr 28 '18 at 17:56\mathcalsupposed to do for you? – Alan Munn Apr 28 '18 at 18:12\lognotlogand similarly for other operators – David Carlisle Apr 28 '18 at 18:20logandentropyin upright letters, that’s\operatorname{}or if you want to insert snippets of text, that’s the\text{}command fromamsmath. I’m guessing that’s what you meant instead of\mathcal, but I’m not sure. – Davislor Apr 28 '18 at 21:54