sqrt(|1-cos(x)|/|1+cos(x)|)=|sin(x/2)|/|cos(x/2)|