#Example showing three different antiderivatives that differ by a constant. restart; int(sin(x)*cos(x),x); f1:=1/2*sin(x)^2; f2:=-1/2*cos(x)^2; f3:=-1/4*cos(2*x); plot([f1,f2,f3],x=0..3*Pi);