Explanation of Solution
Relating two vectors using matrix multiplication:
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
Introduction to mathematical programming
- A movie theater offers showings of a movie each day. A total of 500 people come to see the movie on a particular day. The theater is interested in the number of people who attended each of the six showings. 81 +82 +83 +84 +85 +86 = 500. How many possibilities are there for the tallies for each showing for that day if... a ... there are no restrictions? b ... none of the showings can be an empty theater? c...81 2, 82 ≥3, 83 4, 84 ≥5, 85 ≥6, 86 ≥ 7?arrow_forwardA movie theater offers showings of a movie each day. A total of 500 people come to see the movie on a particular day. The theater is interested in the number of people who attended each of the six showings. 81 +82 +83 +84 +85 +86 = 500. How many possibilities are there for the tallies for each showing for that day if... a...there are no restrictions? b ... none of the showings can be an empty theater? c... S12, 82 ≥ 3, 83 ≥ 4, 84 ≥ 5, 85 ≥ 6, 86 ≥ 7?arrow_forwardYou own a club on eerie planet. The day on this planet comprises of H hours. You appointed C crew members to handle the huge crowd that you get, being the best club on the planet. Each member of the crew has fixed number of duty hours to work. There can be multiple or no crew members at work at any given hour of the day. Being on weird planet, the rules of this club cannot be normal. Each member of the crew only allows people who are taller than him to enter the club when he is at work. Given the schedule of work and heights of the crew members, you have to answer Q queries. Each query specifies the time of entry and height of a person who is visiting the club. You have to answer if the person will be allowed to enter the club or not. Please solve it asap.arrow_forward
- Solvearrow_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_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.arrow_forward
- There 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_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 specifiersarrow_forward
- If the company invests 100,000 USD or less, their profit will be based on 75,000 USD as first 25,000 USD goes to set up the business in the first place. For the first 100,000 USD, the profit margin is low: 4.5%. Therefore, for every 100 dollar they spend, they get a profit of 4.5 dollar. For an investment greater than 100,000 USD, for the first 100,000 USD (actually on 75,000 USD as 25,000 is the setup cost), the profit margin is 4.5% whereas for the rest, it goes up to 8%. For example, if they invest 250,000 USD, they will get an 8% profit for the 150,000 USD. In addition, from the rest 100,000 USD, 25,000 is the setup cost and there will be a 4.5% profit on the rest 75,000. The investment will always be greater or equal to 25,000 and multiple of 100. Complete the RECURSIVE methods below that take an array of integers (investments) and an iterator (always sets to ZERO(‘0’) when the method is initially called) and prints the profit for the corresponding investment. You must…arrow_forwardSuppose you open a small shop and can't pay electronically. There are only four kinds of coins in the cashbox: 25 cents, 10 cents, 5 cents and 1 cent. If you are a salesperson and want to change 41 cents for customers, how can you arrange to give customers the right amount of money and the least number of coins? The idea:Take the coin with largest denomination without exceeding the remaining amount of cents, make the locally best choice at each step.arrow_forwardA student goes to the school canteen. The probability that they get fish is 0.2, get chips is 0.5, or both is 0.1. What is the probability that the student gets fish, chips, OR both?arrow_forward
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole