\batchmode
\documentstyle[12pt]{article}
\makeatletter


\makeatother
\newenvironment{tex2html_wrap}{}{}
\newwrite\lthtmlwrite
\def\lthtmltypeout#1{{\let\protect\string\immediate\write\lthtmlwrite{#1}}}%
\newbox\sizebox
\begin{document}
\pagestyle{empty}
{\newpage
\clearpage
\samepage \setbox\sizebox=\hbox{$\cos{(\pi x)} \cdot e^{-x} , \ \ 0 \leq x \leq 4.$}\lthtmltypeout{latex2htmlSize :tex2html_wrap_inline16: \the\ht\sizebox::\the\dp\sizebox.}\box\sizebox
}

{\newpage
\clearpage
\samepage \setbox\sizebox=\hbox{$\frac {1}{1+x^{2}} , \ \ -5 \leq x \leq 5.$}\lthtmltypeout{latex2htmlSize :tex2html_wrap_inline18: \the\ht\sizebox::\the\dp\sizebox.}\box\sizebox
}

{\newpage
\clearpage
\samepage \setbox\sizebox=\hbox{$\sqrt{x} , \ \ 0 \leq x \leq 2.$}\lthtmltypeout{latex2htmlSize :tex2html_wrap_inline20: \the\ht\sizebox::\the\dp\sizebox.}\box\sizebox
}

\stepcounter{section}

\end{document}
