Sharedwww / 20b / old_midterm2 / index.htmlOpen in CoCalc
Author: William A. Stein
SAGE Log 2006-02-27-231700

SAGE Log 2006-02-27-231700

input-2006-02-27-231700.sage

     1 sage: log_html()
     2 sage: maxima('exp(-2*%i*x)*sin(4*x)').integral()
\frac{e^{ - 2ix}\left( - 2i\sin{}\left(4x\right) - 4\cos{}\left(4x\right)\right)}{12}

3 sage: maxima('1/(x^2+9)^2').integral('x',0,3)
\frac{\pi + 2}{216}

4 sage: maxima('1/sqrt(x+2)').integral('x',-2,0)
2\sqrt{2}

5 sage: maxima('x^2/(x^2-3*x)').integral()
3\log{}\left(x - 3\right) + x

6 sage: # NOTE -- in previous problem you should put 3*log|x-3| + x + C