# R Programming: Create bell curve of a random normal distribution

## R Programming: Basic Exercise-22 with Solution

Write a R program to create bell curve of a random normal distribution.

**Sample Solution** :

**R Programming Code :**

```
n = floor(rnorm(10000, 500, 100))
t = table(n)
barplot(t)
```

Sample Output:

**R Programming Code Editor:**

**Have another way to solve this solution? Contribute your code (and comments) through Disqus.**

**Previous:** Write a R program to create a simple bar plot of five subjects marks.

**Next:** Write a R program to compute sum, mean and product of a given vector elements.

Test your Programming skills with w3resource's quiz.

**What is the difficulty level of this exercise?**

**Weekly Trends and Language Statistics**- Weekly Trends and Language Statistics