integrate (sin(x),x); // sin(x)を x について不定積分
integrate (sin(x),x,0,%pi ); // sin(x)を x について 0 から πまで定積分