title: Finding the Limit of (1+1/n)^n as n->infinity using Python/Numpy
body: <p>I'm trying to use Python to plot how the limit (1+1/n)^n as n->infinity <a href="http://www.wolframalpha.com/input/?i=limit%20(1%2B1%2Fn)%5En%20as%20n-%3Einfinity" rel="nofollow noreferrer">will go towards <code>e</code> at large n</a>.</p>
  
  <p>Why is the plot going towards 1 instead of e?</p>
  
  <pre><code>n = np.arange(0,10000,1)
  f = lambda x: np.power(1 + (1/x), x)
  plt.plot(n,f(n))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ehV7F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ehV7F.png" alt="enter image description here"></a></p>