y=2sinθ+2(π-θ)cosθ , θ=0 to π