plot sin(t); differentiate sin(t); t=0 to 2*pi