I tried to calculate the integral of the density of the normal distribution with expected value 200 and standard deviation 20. From -Inf to Inf this should be 1.
I get the following:
> integrate(dnorm, mean=200, sd=20,-Inf, Inf)$value
[1] 1.429508e-08
For expected values below 169 I get the right value, 1. How can I get the right value for bigger expected values?