R Programming Exercise 3.4
From a normal distribution which has a standarddeviation of 40 and mean of 10, generate 2 to 600 samples. Aftergenerating the samples utilize the plot command to plot the mean ofthe generated sample (x-axis) against the number of samples(Y-axis). Use proper axis labels. Create a second plot of thedensity of the 600 samples that you generated.
Use adequate comments to explain your reasoning.
This code can be solved in 4 to 8 lines.
For this problem use the following variables:
For the mean use: Mean_of_data
For Standard Deviation use:Standard_deviation_of_data