cosx=sin({\pi\over2}-x)