g(x) = abs(sin(x))