>>417
t = tan(x/2)