我用matlab软件求解如下:
solve('y=2*x-1/(2*x)+1','x')
ans =
y/4 + (y^2 - 2*y + 5)^(1/2)/4 - 1/4
y/4 - (y^2 - 2*y + 5)^(1/2)/4 - 1/4