These links provide useful formulae