title: Can't enter "e" into my exponential decay function
body: <p>I have to write a program to model exponential growth. I entered the following as my formula:</p>
  
  <pre><code>expDecay&lt;-function(time,A=3,B=4,k=5){return(A*e^(-k*time)+B)}
  </code></pre>
  
  <p>However, R keeps returning the following message:</p>
  
  <blockquote>
    <p>Error: object 'e' not found</p>
  </blockquote>
  
  <p>Is there any way to get around this? Am I entering it wrong?</p>