Explanation of Solution
Relating two
Suppose that at the beginning of each year, people change the beer they drink.
Let for
Since 30% of the people who prefer beer 1 switch to beer 2 and 20% of the people switch to beer 3, so the remaining 50% continue to be with beer 1. Also, 10% of people who prefer beer 3 switch to beer 1.
Hence, the number of people who prefer beer 1 in the beginning of next month is given below:
Now, 30% of the people who prefer beer 2 switch to beer 3 and the remaining 70% of the people continue to be with beer 2. Also, 30% of people who prefer beer 3 switch to beer 2 and 30% of the people who prefer beer 1 switch to beer 2.
Hence, the number of people who prefer beer 2 in the beginning of next month is given below:
Then, 30% of the people who prefer beer 3 switch to beer 2 and 10% of the people switch to beer 1, so the remaining 60% continue to be with beer 3. Also, 20% of people who prefer beer 1 switch to beer 3 and 30% of the people who prefer beer 2 switch to beer 3.
Hence, the number of people who prefer beer 3 in the beginning of next month is given below:
Want to see the full answer?
Check out a sample textbook solutionChapter 2 Solutions
Operations Research: Applications and Algorithms
- The gasoline price often varies a great deal across different regions across country X. The followingdata show the price per gallon for regular gasoline for a random sample of gasoline service station forthree major brands of gasoline (A, B and C) located in 10 metropolitan areas across the country X.A B C3.77 3.83 3.783.72 3.83 3.873.87 3.85 3.893.76 3.77 3.793.83 3.84 3.873.85 3.84 3.873.93 4.04 3.993.79 3.78 3.793.78 3.84 3.793.81 3.84 3.86 State the null and alternative hypothesis for single factor ANOVA to test for any significant difference in the mean price of gasoline for the three brandsarrow_forwardThere are three financial aid counselors. If a student’s last initial is from A – H, let them know that their counselor is Jon Stewart. If a student’s last initial is from I – Q, let them know that their counselor is Chelsea Handler. If a student’s last initial is from R – Z, let them know that their counselor is Brian Williams.Ask student for the FICO score, if it’s less than 660 tell that this student cannot have a loan. c++arrow_forwardThere are three financial aid counselors. If a student’s last initial is from A – H, let them know that their counselor is Jon Stewart. If a student’s last initial is from I – Q, let them know that their counselor is Chelsea Handler. If a student’s last initial is from R – Z, let them know that their counselor is Brian Williams.Ask student for the FICO score, if it’s less than 660 tell that this student cannot have a loan.arrow_forward
- In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of the population each month, regardless of the season. In addition, fish die naturally after living for an average of 10 months. There are two separate companies (for example, A and B) fishing with 5 boats on the edge of this lake. According to current data, each boat catches 5000 fish per month. However, if the total number of boats caught in the lake increases, the number of fish to be caught by each boat decreases, as the boats will prevent each other from fishing. In addition, if the fish population in the lake increases, the fish caught per boat increases, and if the population decreases, the fish caught per boat decreases. As companies earn money from hunting, they want to buy new boats over time and enlarge their boat fleet.arrow_forwardEvery campus has full time students who attend classes between 8h00 and 17h00 during theweek. Every campus also has part time students who attend classes between 18h00 and 21h00 onweekdays. In the scenario provided at the beginning of Q.1.1, it is stated that no student shouldbe allowed to access the campus after 12h00. The campus has decided to change this rule to state“no full-time student will be allowed to access the campus after 12h00. Part time students canaccess the campus as from 17h00arrow_forwardIn a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of the population each month, regardless of the season. In addition, fish die naturally after living for an average of 10 months. There are two separate companies (for example, A and B) fishing with 5 boats on the edge of this lake. According to current data, each boat catches 5000 fish per month. However, if the total number of boats caught in the lake increases, the number of fish to be caught by each boat decreases, as the boats will prevent each other from fishing. In addition, if the fish population in the lake increases, the fish caught per boat increases, and if the population decreases, the fish caught per boat decreases. As companies earn money from hunting, they want to buy new boats over time and enlarge their boat fleet. Indicate the causal relationships in this system with arrows and signs. Show the causality loops in this system, at least 1 negative, at least 1 positive, and…arrow_forward
- Every campus has full time students who attend classes between 8h00 and 17h00 during theweek. Every campus also has part time students who attend classes between 18h00 and 21h00 onweekdays. In the scenario provided at the beginning of Q.1.1, it is stated that no student shouldbe allowed to access the campus after 12h00. The campus has decided to change this rule to state“no full-time student will be allowed to access the campus after 12h00. Part time students canaccess the campus as from 17h00”. By making use of a class diagram, demonstrate how the concept of inheritancecan be used to represent the scenario provided at the beginning of thisquestion. Marks will be awarded as follow:Q.2.1.1 Class diagram showing inheritance; Q.2.1.2 diagram for Attributes; Q.2.1.3 diagram for Instance methods; Q.2.1.4 diagram for Access specifiers.arrow_forwardA ticket from Indianapolis to Orlando on DeleastAirlines sells for $150. The plane can hold 100 people. Itcosts $8,000 to fly an empty plane. The airline incurs variablecosts of $30 (food and fuel) for each person on the plane.If the flight is overbooked, anyone who cannot get a seatreceives $300 in compensation. On the average, 95% of allpeople who have a reservation show up for the flight. Tomaximize expected profit, how many reservations for theflight should be taken by Deleast? (Hint: The @Riskfunction RISKBINOMIAL can be used to simulate thenumber of passengers who show up. If the number ofreservations taken is in cell A2, then the formulaRISKBINOMIAL(A2,.95)will generate the number of customers who actually showup for a flight!)arrow_forwardEvery campus has full time students who attend classes between 8h00 and 17h00 during theweek. Every campus also has part time students who attend classes between 18h00 and 21h00 onweekdays. In the scenario provided at the beginning of Q.1.1, it is stated that no student shouldbe allowed to access the campus after 12h00. The campus has decided to change this rule to state“no full-time student will be allowed to access the campus after 12h00. Part time students canaccess the campus as from 17h00”. By making use of a class diagram, demonstrate how the concept of inheritancecan be used to represent the scenario provided at the beginning of thisquestion. Marks will be awarded as follow:Class diagram showing inheritance;Attributes; Instance methods; Access specifiers By means of pseudocode, demonstrate how overloaded methods can be usedin the COVID-19 application you are designingarrow_forward
- Every campus has full time students who attend classes between 8h00 and 17h00 during theweek. Every campus also has part time students who attend classes between 18h00 and 21h00 onweekdays. In the scenario provided at the beginning of Q.1.1, it is stated that no student shouldbe allowed to access the campus after 12h00. The campus has decided to change this rule to state“no full-time student will be allowed to access the campus after 12h00. Part time students canaccess the campus as from 17h00 By making use of a class diagram, demonstrate how the concept of inheritancecan be used to represent the scenario provided at the beginning of thisquestion. Marks will be awarded as follow: Class diagram showing inheritance; Attributes; Instance methods; Access specifiersarrow_forwardEvery campus has full time students who attend classes between 8h00 and 17h00 during theweek. Every campus also has part time students who attend classes between 18h00 and 21h00 onweekdays. In the scenario provided at the beginning of Q.1.1, it is stated that no student shouldbe allowed to access the campus after 12h00. The campus has decided to change this rule to state“no full-time student will be allowed to access the campus after 12h00. Part time students canaccess the campus as from 17h00 By making use of a class diagram, demonstrate how the concept of inheritancecan be used to represent the scenario provided at the beginning of thisquestion. Marks will be awarded as follow:Q.2.1.1 Class diagram showing inheritance; (8)Q.2.1.2 Attributes; (4)Q.2.1.3 Instance methods; (12)Q.2.1.4 Access specifiers. (2)Q.2.2 By means of pseudocode, demonstrate how overloaded methods can be usedin the COVID-19 application you are designingarrow_forwardHow do I answer this, please? Acme Parts runs a small factory and employs workers who are paid one of three hourly rates depending on their shift: first shift, $17 per hour; second shift, $18.50 per hour; third shift, $22 per hour. Each factory worker might work any number of hours per week; any hours greater than 40 are paid at one and one-half times the usual rate. In addition, second- and third-shift workers can elect to participate in the retirement plan for which 3% of the worker’s gross pay is deducted from the paychecks. Write a program that prompts the user for hours worked, shift, and, if the shift is 2 or 3, whether the worker elects the retirement (1 for yes, 2 for no). Display: Hours worked Shift Hourly pay rate Regular pay Overtime pay Total of regular and overtime pay Retirement deduction, if any Net pay.arrow_forward
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole