cosX= sin (π/2–X) (1) cosX =sin (π/2+X) (2)