30 / 0.350 = 85.7
you can fill up 85 bottles.
the general formula for compound interest is
a = p(1 + r/n)^nt where p = initial amount, r = yearly rate ( as a fraction), t = number of years and n = number of times in the year that interest is added.
so for the given data:
amount after 1 year = 500 ( 1 + 0.05/365)^365