Basically, I have to make the code find the sections of the graph where the data values reach a steady state. Once it finds out the steady-state region, I have to find the average of the values of said steady state region. Once this region is accounted for, the code has to then traverse to the next section of the graph and repeat the same process. I am stumped.