y=(3^x-1)/(3^x+1)
3^x-1=y*3^x+y
3^x(1-y)=1+y
3^x=(1+y)/(1-y)
x=log3[(1+y)/(1-y)]
反函数为
y=log3[(1+x)/(1-x)] -1