The conservation of energy by Balfour Stewart