Solve Tracy's problem of how often to go to the ATM when nominal interest rate on her bank account is 10%, she spends $30 each day, it cost her $0.50 each time she uses the atm, and she thinks that there is a 15% chance that she will loose her cash or have it stolen. Under these conditions, how often does Tracy go to the ATM, and how much cash does she take out each time?