taylor expand tan(z/2) at pi/2