(sin (x/2)^2 + log x)