Calculation of work expended in running a marathon