Sample Integrals with a Sage

Perhaps you would like to evaluate this antiderivative: $$ \int 3\sin^2(2t) \, dt $$

You need to tell Sage that $t$ is a variable. You also need to use a $*$ to show multiplication. Be careful to match parentheses.

The show lets you see the result as typeset math.

Here is a definite integral $$ \int_0^{2\pi} 3\sin^2(2t) \, dt $$ Note that the bounds of the integral are in a pair of parentheses with $t$.

Your turn