To find:
The
Answer to Problem 1E
Solution:
The required answers are stated as follows.
Explanation of Solution
The given data is,
The formula to calculate the mean of set of data is,
Here,
Substitute
Here number of data in the given data set is
Mean of A is
Substitute
Mean of B is
The formula to calculate the median of set of ordered data is,
Arrange the given data in increasing order.
Number of values in data set is
Substitute
Simplify further,
The median of A is
Substitute
Simplify further,
The median of B is
The most frequently occurred data is the mode.
Here, each of the data
Mode of the given data set A are
Here, each of the data
Mode of the given data set B are
Since, the mean value of set B is closer to diameter
MATLAB Code:
A = [15.94, 15.98, 15.94, 16.16, 15.86, 15.86, 15.90, 15.88];
B = [15.96, 15.94, 16.02, 16.10, 15.92, 16.00, 15.96, 16.02];
mean_A = mean(A)
mean_B = mean(B)
median_A = median(A)
median_B = median(B)
mode_A = mode(A)
mode_B = mode(B)
stdev_A = std(A)
stdev_B = std(B)
Save the MATLAB script with the name, Chapter14_54793_14_1E.m in the current folder. Execute the script by typing the script name at the command window to generate output.
Result:
Therefore, the required program is stated above.
Want to see more full solutions like this?
Chapter 14 Solutions
MATLAB: A Practical Introduction to Programming and Problem Solving
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillBig Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL