how to do an integral in latex code example
Example 1: latex integral
$ \int_{a}^{b} x^2 \,dx $
Example 2: integral latex
integral
\[ \int_{a}^{b} x^2 \,dx \]
$ \int_{a}^{b} x^2 \,dx $
integral
\[ \int_{a}^{b} x^2 \,dx \]