z = cot(z)/2