cos(x/2)+2*sin(x/2)