It’s a function to represent each problem situation

Leon deposits $250 into compound interest account.The interest rate for the account is 6%