f = @(x) x-tan(x);

x0 = fsolve(f,12)
f(x0)