> I have a machine, the output of which I can sample at any time. The > output represents the flow from the machine for the last 24 hours. I > need to calculate the flow for a given 8 hour period. Is this possible > and if so how? You can sample the machine as many times as necessary, > but the fewer the better (so I can actually implement the solution). > > Example: Sample at 9pm represents flow between 9am and 9pm. Sample at > 5pm represents flow from 5am to 5pm. How could I get the flow for the > period 9am to 5pm? > Let a = flow from 5 am to 5 pm, b = flow from 9 am to 9 pm.