Make a vector of 500 random numbers from a normal distribution with mean 2 and standard deviation 5(randn).
a After you generate the vector, verify that the sample mean and standard deviation are close to 2 and 5 respectively (mean,std).
b Determine P(X≤ 2)
c P(-1≤X≤ 1)
c Plot distribution.
a solve the following integral (analytical method only)
b use Matlab to compute the value of above integral
c display the difference between both values (a and b) if any