lim_x->1/2 (tan(pi x)/(2x-1)+2/(pi(2x-1)^2))