Hi there!
a.
To find the total amount of people that have ENTERED by t = 20, we must take the integral of the appropriate function.
[tex]\text{Amount that entered} = \int\limits^{20}_{10} {S(t)} \, dt \\\\ = \int\limits^{20}_{10} {80 - 12cos(\frac{t}{5})} \, dt[/tex]
Evaluate using a calculator:
[tex]= 899.97 \approx \boxed{900\text{ people}}[/tex]
b.
To solve, we can find the total amount of people that have entered of the interval and subtract the total amount of people that have left from this value.
In other terms:
[tex]\text{Amount of people} = \int\limits^{20}_{10} {S(t)} \, dt - \int\limits^{20}_{10} {R(t)} \, dt[/tex]
We can evaluate using a calculator (math-9 on T1-84):
[tex]\text{\# of people} = \int\limits^{20}_{10} {80-12cos(\frac{t}{5})} \, dt - \int\limits^{20}_{10} {12e^{\frac{t}{10}}+20} \, dt[/tex]
[tex]= 899.97 - 760.49 = 139.47 \approx \boxed{139 \text{ people}}[/tex]
c.
If:
[tex]P(t) = \int\limits^t_{10} {S(t) - R(t)} \, dt[/tex]
Then:
[tex]\frac{dP}{dt} = P'(t)= \frac{d}{dt}\int\limits^t_{10} {S(t) - R(t)} \, dt = S(t) - R(t)[/tex]
Evaluate at t = 20:
[tex]S(20) = 80 - 12cos(\frac{20}{5}) = 87.844\\\\R(20) = 12e^{\frac{20}{10}} + 20 = 108.669[/tex]
[tex]S(20) - R(20) = 87.844 - 108.669 = -20.823[/tex]
This means that at t = 20, there is a NET DECREASE of people at the movie theater of around 20.823 (21) people per hour.
d.
To find the maximum, we must use the first-derivative test.
Set S(t) - R(t) equal to 0:
[tex]80 - 12cos(\frac{t}{5}) - 12e^{\frac{t}{10}} - 20 = 0\\\\60 - 12(cos(\frac{t}{5}) + e^{\frac{t}{10}})= 0[/tex]
Graph the function with a graphing calculator and set the function equal to y = 0:
According to the graph, the graph of the first derivative changes from POSITIVE to NEGATIVE at t ≈ 17.78 hours, so there is a MAXIMUM at this value.
Thus, at t = 17.78 hours, the amount of people at the movie theater is a MAXIMUM.