just need a check to make sure i'm doing this right.
its just a derivative: cos(cosx)*(-sinx)
so i would use the product rule.
is this correct:
-sin(cosx)(-sinx)*(-sinx) + cos(cosx)*(-cosx)
thanks for checking.
if its not correct please fix it, and if it is, maybe help me clean up the negative signs.