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
- c. What are the first and third quartiles? First Quartiles (to 1 decimals) Third Quartiles (to 4 decimals) × ☑ Which companies spend the most money on advertising? Business Insider maintains a list of the top-spending companies. In 2014, Procter & Gamble spent more than any other company, a whopping $5 billion. In second place was Comcast, which spent $3.08 billion (Business Insider website, December 2014). The top 12 companies and the amount each spent on advertising in billions of dollars are as follows. Click on the datafile logo to reference the data. DATA file Company Procter & Gamble Comcast Advertising ($billions) $5.00 3.08 2.91 Company American Express General Motors Advertising ($billions) $2.19 2.15 ETET AT&T Ford Verizon L'Oreal 2.56 2.44 2.34 Toyota Fiat Chrysler Walt Disney Company J.P Morgan a. What is the mean amount spent on advertising? (to 2 decimals) 2.55 b. What is the median amount spent on advertising? (to 3 decimals) 2.09 1.97 1.96 1.88arrow_forwardMartinez Auto Supplies has retail stores located in eight cities in California. The price they charge for a particular product in each city are vary because of differing competitive conditions. For instance, the price they charge for a case of a popular brand of motor oil in each city follows. Also shown are the number of cases that Martinez Auto sold last quarter in each city. City Price ($) Sales (cases) Bakersfield 34.99 501 Los Angeles 38.99 1425 Modesto 36.00 294 Oakland 33.59 882 Sacramento 40.99 715 San Diego 38.59 1088 San Francisco 39.59 1644 San Jose 37.99 819 Compute the average sales price per case for this product during the last quarter? Round your answer to two decimal places.arrow_forwardConsider the following data and corresponding weights. xi Weight(wi) 3.2 6 2.0 3 2.5 2 5.0 8 a. Compute the weighted mean (to 2 decimals). b. Compute the sample mean of the four data values without weighting. Note the difference in the results provided by the two computations (to 3 decimals).arrow_forward
- Expert only,if you don't know it don't attempt it, no Artificial intelligence or screen shot it solvingarrow_forwardFor context, the image provided below is a quesion from a Sepetember, 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below (the question and the related figure) is from a january 2024 past paperarrow_forward
- For context, the image attached below is a question from a June 2024 past paper in statisical modelingarrow_forwardFor context, the images attached below are a question from a June, 2024 past paper in statistical modelingarrow_forwardFor context, the images attached below (question and related graph) are from a February 2024 past paper in statistical modelingarrow_forward
- For context, the images attached below are from a February 2024 past paper in statistical modelingarrow_forwardFor context, the image provided below is a question from a September, 2024 past paper in statistical modelingarrow_forwardFor context, the image below is from a January 2024 past paper in statistical modelingarrow_forward
- Holt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALBig Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill
- College Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningFunctions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage Learning