The derivative of a constant is 0...
All you have to know is that
I did it because I hate negative factorial, and I'm not sure it's correct to leave this n=0 while we have a (n-1)!
Change : n-1 -> n, so n=1 -> n=0
Added to the other term, it yields what the previous posters wrote.
It appears that too many of your posts are composed in the small hours given the high proportion of your posts are less than satisfactory.
It would help the site if you took more time and care over your posts. As it is the low quality of your posts is damaging to the reputation of this site.
RonL