integrals table latex code example Example 1: integral latex integral \[ \int_{a}^{b} x^2 \,dx \] Example 2: integral latex $\int_0^{2a}{\cos(x)dx}$