this is compound interest
\(A=P(r+1)^t\)
r=rate
P=original amount
t=time in hours
\(A=10(0.2+1)^t\)
\(A=10(1.2)^n\) is the number of glasses in n hours
price=cost time number of glasses
0.5 times \(10(1.2)^n\) is \(5(1.2)^n\)
total glasses sold in n hours is
\(f(n)=10(1.2)^n\)
the function for money eraned in the nth hour is
\(f(n)=5(1.2)^n\)