U2 = NaN
w_0tau_e = 10 (slider from 0 to 10000, step 1)
h = 1 (slider from 0 to 1, step 0.01)
U = 1.5 (slider from 0.05 to 1.5, step 0.01)
f(x) = (U * ((2 * x) + 1 / w_0tau_e)^(2)) + ((2 * x / w_0tau_e) * (1 - U)) - (h / 2)^(2) + (1 - U)^(2)
g(x) = (sqrt((4 * (x^(2) - 1)^(2)) + (4 * (x / w_0tau_e)^(2))) * ln(x) / ln(x))