plot (sin x, cos x) from x =0 to pi