For extra credit derive the formula for a sum of cubes. One way of doing this is to modify the example below that derives the sum of squares.