title: Adding a normal distribution curve to a histogram
body: <p>My code for the Histogram is</p>
  <pre><code>hist(rnorm(1000), prob=TRUE)
  </code></pre>
  <p>this gives me the proper histogram, but i need to plot the normal distribution over it.
  here's the code i tried for that:</p>
  <pre><code>curve(rnorm(x, 1000), -4, 1000, add=TRUE)
  </code></pre>
  <p>someone in my class said i needed that range so i threw in a million ideas of what it could be to make the plot (obviously -4,1000 didn't work). An help would be appreciated, I am super confused. it doesn't even throw an error message, R literally doesn't do anything when i run that second code.</p>