gshreya2005
11.12.2020 •
Mathematics
Leah Peschel is the bottling department manager for a bottling company that produces various soft drinks and juices. The company uses two different machines from different manufacturers to fill the bottles of its popular cola. Leah periodically verifies that the population mean amount of cola in the bottles filled by Machine 1 is the same as the population mean amount in the bottles filled by Machine 2. The manufacturers calibrated the machines at the time of installation and provided that information to the bottling company. Based on this information, Leah assumes that the population standard deviation for Machine 1 is 0.021 ounce and the population standard deviation for Machine 2 is 0.019 ounce. Leah randomly selects samples of bottles filled by Machine 1 and Machine 2. The amount of cola in each bottle is recorded for both samples, and the results are shown in the table. Explain whether a hypothesis test for the difference between two means of independent samples is appropriate, and if so, find the null and alternative hypotheses, where μ1 is the population mean of Machine 1 and μ2 is the population mean of Machine 2.
Solved
Show answers
More tips
- F Food and Cooking How to Make Delicious Cabbage Pies: The Best Recipes!...
- S Science and Technology The Metric System in Our Daily Life: Understanding Its Importance...
- H Health and Medicine Angina: Causes, Symptoms, and Treatment...
- C Computers and Internet How to Learn to Type Fast?...
- F Food and Cooking Delight for Gourmets: How to Prepare Liver Pate...
- S Style and Beauty How to braid friendship bracelets?...
- H Health and Medicine Mercury Thermometer Danger: What to do when a thermometer breaks?...
- F Food and Cooking Which Calamari Salad is the Most Delicious?...
- S Society and Politics 10 Tips for Boosting Your Self-Esteem...
- F Food and Cooking The Most Delicious and Simple Fish in Batter Recipe...
Answers on questions: Mathematics
- M Mathematics What is the missing coefficient? (x2 + 4x) - 2x = x2 + x enter the correct answer. done...
- M Mathematics Solve the inequality and graph your solution...
- M Mathematics HELP FAST I WILL GIVE BRAINLIEST...
- M Mathematics Divide 2x^4 - 4x^3 - 11x^2 + 3x - 6 by x + 2...
- C Chemistry What is the effect, if any, of this mutation on the amino acid chain produced?...
- S Spanish Julían y José una pizza. A. Tienen B. Tengo C. Tienes D. Tenemos...
- M Mathematics Ad given: _1= _2 if ac = 3, bc =5, and ab= 7, find ad...
Ответ:
Here is the refactored function:
def rectangle_area(base, height):
area = base * height
return area
print("The area is ", rectangle_area(5,6))
Step-by-step explanation:
The above program has a function rectangle_area that takes two variables base and height as parameters. The function then computes the area of rectangle by multiplying the values of base and height. The result of the multiplication is assigned to the variable area. Then the function returns the resultant area.
print("The area is ", rectangle_area(5,6)) statement calls rectangle_area() method by passing values of base and height i.e. 5 and 6 to compute the area. The output of this program is:
The area is 30
Note that the use of rectangle_area function name describes what the function does i.e. it computes the area of rectangle. By naming the parameters as base and height that clearly depicts that in order to compute rectangle are we need the base and height of rectangle. So this makes the code readable.