area under the curve

in "untitled7" have been applied simpson and trapezoidal rule to
calculate the area under the curve:

http://stackoverflow.com/questions/13320262/calculating-the-area-under-a-curve-given-a-set-of-coordinates-without-knowing-t
area under all of the curves

within the for loop  calculates the area for all of the plots
sliders

in temp.py have been added two sliders but up to now i dont know the
algorithm for the zoom and shift: there is an idea to combine sliders
with interactive events

http://stackoverflow.com/questions/6697259/interactive-matplotlib-plot-with-two-sliders