>>650
tanθ=tan(θ/2+θ/2)=(tanθ/2+tanθ/2)/(1-tanθ/2*tanθ/2)