derivative of cosec x by first principle