Calculation of interest on a British bond during the American Revolution