y=((sin(x))^2+(1.5-cos(x))^2)^0.5-1.5 + ((sin(x+π))^2+(1.5-cos(x+π))^2)^0.5-1.5