Raster Calculation - Area under a curve

Discussion created by mohangis on Jan 9, 2014
Depth of flood in an area is changing with time. I have 15 rasters, having accurate depth values of flood on a each day - so total of 15 days.
I am wanting to generate a raster which will provide the area under a curve if a Day-Depth graph were to be drawn using the 15 day dataset. Just to amplify - if I were to take all the 15 depth values for a given pixel and then make a graph of changing depth over time, then what whould be the area below the resulting curve. So the number of such graphs (and the resulting areas) would be equal to the number of pixels (that will makeup the new raster).

How do I do it?