Answer:
35 years
Step-by-step explanation:
The proportion p that remains after y years is ...
p = (1/2)^(y/5.27)
In order for 1/100 to remain (the level decays from 100 times to 1 times), we have ...
.01 = .5^(y/5.27)
log(0.01) = y/5.27·log(0.5) . . . take logs
y = 5.27·log(0.01)/log(0.5) ≈ 35.01 ≈ 35 . . . . years
8 quarts is equal to 32 cups :)
Franck's answer is better (using ~), but I just wanted to point out that the conditional in yours is slightly redundant. It's easy to forget that, since you already have a boolean value, you don't need to perform a comparison in your conditional. So you could have just done this...
<span>if x
x = false;
else
x = true;
<span>end</span></span>
3t-2+t=4-7t
4t-2=4-7t
-6=-11t
6/11=t