Сalculate the profit of the deposit account.