item (a):
Using the formula given in the question, we have

Our principal investment P is equal to $4000, our interest r is 3 1/4 %, writting this in decimal form we have

Since it is a percentage, to write in decimal we divide by 100

And finally, our n value is 365 since it is compounded daily, and we have 365 days in a year.
Then, our function is

item (b):
To find A(30), we just need to evaluate this value in the function we created before

This means that with an investment of $4000, with this rate Joe is going to have a return of $10604.21.