|cos(x-(π/3)) + 1/2|