Template:N-life/doc

&#x3c;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) --&#x3e;

Usage
Note: decay redirects here.

blank template: &#x3c;pre&#x3e;&#x3c;/pre&#x3e;

Growth
Given that a bacterium doubles every 20 minutes, the number of hours until the population has increased by a factor of 1 million (10^6) would be:

= &#x3c;pre&#x3e;&#x3c;/pre&#x3e;

Radioactive decay
Knowing that the half life of an element is 2 years, the number of days it takes for 10% of the atoms to decay would be:

= &#x3c;pre&#x3e;&#x3c;/pre&#x3e;

You can confirm this result by plugging in &#x3c;code&#x3e;0.9 ^ ((365.25 * 2) / 111)&#x3c;/code&#x3e; into your calculator, which should yield a result ~0.5.

Probability
Assuming there is a 1% chance of winning a prize per ticket, the number tickets one would need to have a 75% chance of winning:

= &#x3c;pre&#x3e;&#x3c;/pre&#x3e;

You can confirm the final example using the equation &#x3c;code&#x3e;(1-0.01)^137.935&#x3c;/code&#x3e; which equals ~0.25 (25% chance of losing).

Range
In 5 years, I plan to be 10-15 times richer than today. Thus, to stay on track, I need to double my wealth every...

years &#x3c;pre&#x3e; years&#x3c;/pre&#x3e;