Skip to content

Commit 4adf771

Browse files
committed
Add exercise assignment for Random numbers
1 parent caccf95 commit 4adf771

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

numpy/random-numbers/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Random numbers
2+
3+
Generate a one dimensional 1000 element array of uniformly distributed random
4+
numbers using the `numpy.random` module.
5+
6+
1. Calculate the mean and standard deviation of the array using `numpy.mean()`
7+
and `numpy.std()`.
8+
2. Choose some other random distribution and calculate its mean and standard
9+
deviation.
10+
11+
You can visualize the random distributions with matplotlib’s `hist()`
12+
function.

0 commit comments

Comments
 (0)