#LHS=(1+sintheta-costheta)/(1+costheta +sintheta)
#
#=(sintheta(1+sintheta-costheta))/(sintheta(1+costheta +sintheta))#
#=(sintheta+sin^2theta-sinthetacostheta)/(sintheta(1+costheta +sintheta))#
#=(sintheta-sinthetacostheta+(1-cos^2theta))/(sintheta(1+costheta +sintheta))#
#=(sintheta(1-costheta)+(1-cos^2theta))/(sintheta(1+costheta +sintheta))#
#=((1-costheta)(sintheta+1+costheta))/(sintheta(1+costheta +sintheta))#
#=(1-costheta)/sintheta#
#=(2sin^2(theta/2))/(2sin(theta/2)cos(theta/2))#
#=tan(theta/2)#