Answer:
Function to track the amount of money Eve has is 
Step-by-step explanation:
Given:
Principal Amount in the account, P = $ 500
Rate of interest, r = 25%
Interest is compounded annually.
To write a function to track amount in the account.
We use the Formula of amount of the compound interest.

By, Substituting given values we have
Amount in the account, 

where, n is number of year.
Therefore, Function to track the amount of money Eve has is 