y=tanπx周期T=π/W=π/π=1
y=cotx-tanx=cosx/sinx-sinx/cosx
=(cos^2x-sin^2x)/sinxcosx
=2cos2x/sin2x=2cot2x周期T=π/W=π/2