Why the number e(=2.71828) was chosen as the natural base for logarithm functions? [duplicate]

The simplest answer is this:

If you draw the graphs of $y=a^x$ for varying values of $a$, you find that they all pass through the point$(0,1)$ on the $y$-axis. There is exactly one of these curves that passes through that point with a gradient of exactly 1, and that value is obtained by taking $a=2.718281828459 \dots$.

In more analytical terms, this means that this is the value of $a$ which makes the derivative of $a^x$ equal to $a^x$, rather than a constant multiple of $a^x$.