Answer :
The exercise describes an exponential decay, you can express this using the general form:
[tex]y=ab^x[/tex]Where
a is the initial amount
b is the decay factor
x is the time intervals
y is the amount after x time intervals
The half-life of a substance indicates the time it takes for the amount to decrease by half.
If the initial amount is a=5 grams, the half-life indicates that after x=20 days, the amount will be
y= 5/2 = 2.5 grams.
You can replace these values on the formula above to obtain an expression where the decay factor will be the only unknown:
[tex]\begin{gathered} y=ab^x \\ 2.5=5b^{20} \end{gathered}[/tex]To solve for b, first, divide both sides of the equation by 5:
[tex]\begin{gathered} \frac{2.5}{5}=\frac{5b^{20}}{5} \\ 0.5=b^{20} \end{gathered}[/tex]Then apply the square root with index 20 to both sides of the equal sign no reach the value of b:
[tex]\begin{gathered} \sqrt[20]{0.5}=\sqrt[20]{b^{20}} \\ b=0.97 \end{gathered}[/tex]Now that you know the value of the decay factor, you can determine how much time it will take for the substance to decrease to 2grams.
The expression for the exponential decay in this case is:
[tex]y=5\cdot0.97^x[/tex]For y=2grams:
[tex]2=5\cdot0.97^x[/tex]Now, you have to solve the expression for x:
-Divide both sides by 5:
[tex]\begin{gathered} \frac{2}{5}=\frac{5\cdot0.97^x}{5} \\ 0.4=0.97^x \end{gathered}[/tex]-Apply the logarithm to both sides of the equal sign:
[tex]\begin{gathered} \log (0.4)=\log (0.97^x) \\ \log (0.4)=x\log (0.97) \end{gathered}[/tex]-Divide both sides by the logarithm of 0.97 to determine the value of x:
[tex]\begin{gathered} \frac{\log(0.4)}{\log(0.97)}=\frac{x\log (0.97)}{\log (0.97)} \\ x=30.08\approx30.1 \end{gathered}[/tex]It will take approximately 30.10 days to have 2 grams of substance left.