One type of control chart, used for quality control during production, graphs the means (on the vertical axis) of samples of size n taken off the assembly line at different times (horizontal axis). Solution http://www.uta.edu/faculty/sawasthi/Statistics/stquacon.html refer this for excat solution.