Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For PythonL Generate =100N=100 random numbers, Gaussian-distributed with =0=0 and =1=1. Plot them in a histogram. Compute mean, standard deviation (RMS), and the error on
For PythonL
- Generate =100N=100 random numbers, Gaussian-distributed with =0=0 and =1=1.
- Plot them in a histogram.
- Compute mean, standard deviation (RMS), and the error on the mean. Is this what you expected?
- Compute the median of this distribution
- Now find the means, standard deviations, and errors on the means for each of the =1000M=1000 experiments of =100N=100 measurements each. Plot a histogram of the means. Is it consistent with your calculation of the error on the mean for =100N=100 ? About how many experiments yield a result within 11 of the true mean of 0 ? About how many are within 22 ? Is this what you expected?
- Now repeat question 4 for =10,50,1000,10000N=10,50,1000,10000. Plot a graph of the RMS of the distribution of the means vs N. Is it consistent with your expectations ?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started