Write a function to represent each problem situation.
Serena deposits $2700 into a compound interest account. The Interest rate for the account is 4.25%.