title: Why does dnorm() not return the standard deviation I inputted when I do sd(dnorm())?
body: <p>This may be a dumb question, however I don't understand why <code>sd(dnorm(1:100, mean=50, sd=15))</code> doesn't return the standard deviation as <code>[1] 15.0</code> instead of what it actually returns which is <code>[1] 0.009440673</code>. When I do this with rnorm() <code>sd(rnorm(100, mean=50, sd=15))</code> it returns what I would expect which is a number close to 15:  <code>[1] 17.00682</code>. Can someone please explain why <code>sd(dnorm(x,mean=mean,sd=sd))</code> doesn't return the standard deviation that I input to dnorm?</p>