Investment mathematics