How To Take Derivative Of A Summation