arccos x derivative code example Example: derivative of arccos d/dx arccos(x) = -d/dx arcsin(x) = -1/sqrt(1-x^2)