Q:

In a marble manufacturing plant, a quality control engineer randomly selects eight marbles from each of the two production lines and measures the diameter of each marble in millimeters. For the each data set here, determine the mean, median, mode,

0

In a marble manufacturing plant, a quality control engineer randomly selects eight marbles from each of the two production lines and measures the diameter of each marble in millimeters. For the each data set here, determine the mean, median, mode, and standard deviation using built-in functions. 

Prod. line A:15.94 15.98 15.94 16.16 15.86 15.86 15.90 15.88

Prod. line B:15.96 15.94 16.02 16.10 15.92 16.00 15.96 16.02

Suppose the desired diameter of the marbles is 16 mm. Based on the 

results you have, which production line is better in terms of meeting 

the specification? (Hint: think in terms of the mean and the standard 

deviation.)

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch14Ex1.m

% Determine which marble production line has better

% quality

load marbles.dat

proda = marbles(1,:);

prodb = marbles(2,:);

fprintf('For production line A, the mean is %.2f,\n', mean(proda))

fprintf('the median is %.2f, the mode is %.2f,\n', ...

 median(proda), mode(proda))

fprintf(' and the standard deviation is %.2f\n', std(proda))

fprintf('For production line B, the mean is %.2f,\n', mean(prodb))

fprintf('the median is %.2f, the mode is %.2f,\n', ...

 median(prodb), mode(prodb))

fprintf(' and the standard deviation is %.2f\n', std(prodb))

Production line B seems better.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now