The logarithm of a number is the power to which a given base must be raised to produce that number. For a given positive number a and a positive base b (where b ≠ 1), the logarithm of a with base b is written as (read as: log of a to the base b) and is defined as:
if and only if
There are mainly two types of logarithm. They are:
Day | No. of person spreading the virus | Newly infected person | Total infected person |
---|---|---|---|
1 | 1 | 3*1=3 | 4=4^1 |
2 | 4 | 3*4=12 | 16=4^2 |
3 | 16 | 3*16=48 | 64=4^3 |
... | ... | ... | ... |
... | ... | ... | ... |
30 | 4^30 |