How to use summation notation