由原式得
2^y=(1+x)/(1-x)
2^y=-[(x-1)+1]/(x-1)=-1-1/(x-1)
2^y+1=1/(1-x)
1-x=1/(2^y+1)
x=1-1/2^y+1
f(x)=1-1/(2^x+1)