plot 1/ln(2) (1/2)e^(-g)/(1-(1/2)e^(-g)) dg/dx substitute g=ln(1+sqrt(1/2)) ((1+x^2)^4 arctanh(x))/((1+0.5^2)^4 arctanh(0.5)) from x=0..1