Vectors of random numbers - Your turn#
On the same assembly line, nuts are produced in boxes containing \(5000\) parts each.
All nuts have a nominal diameter of \(5.5\) mm; however, the nuts in each box have been machined to different tolerances.
Using plt.subplots(), plot the distributions of nuts as a function of their size for each of the four boxes for which the standard deviations are respectively \(\sigma=0.45\) mm, \(0.50\) mm, \(0.55\) mm, and \(0.60\) mm.
Hint: sharex and sharey in plt.subplots() may come in handy here!
# TODO: Write your solution below
Exporting your work#
When you’re ready, the easiest way to export the notebook is to File > Print it and save it as a PDF.
Remove any excessively long, unrelated outputs first by clicking the arrow → next to the output box and then Show/hide output.
Obviously don’t obscure any necessary output or graphs!