Plot[{Sin[x],Sqrt[1/2-(x-Pi/4)^2]},{x,0,Pi}]