0=C-\frac{\pi}{2} \Rightarrow C=\frac{\pi}{2}