1. The Green Cab Company has a taxi waiting at each of four cabstands in Evanston, Illinois. Four customers have called and requested service. The distances, in miles, from the waiting taxis to the customers are given in the following table. Find the optimal assignment of taxis to customers so as to minimize total driving distances to the customers. Please show all steps/work
|
Cab site |
Customer |
|||
|
A |
B |
C |
D |
|
|
Stand 1 |
8 |
3 |
4 |
8 |
|
Stand 2 |
5 |
4 |
6 |
7 |
|
Stand 3 |
7 |
7 |
9 |
6 |
|
Stand 4 |
8 |
6 |
6 |
4 |
In: Operations Management
Packard Company engaged in the following transactions during Year 1, its first year of operations. (Assume all transactions are cash transactions.)
During Year 2, Packard engaged in the following transactions. (Assume all transactions are cash transactions.)
What is the amount of Packard Company's net cash flow from financing activities for Year 2?
Net outflow of $455.
Net outflow of $325.
Net inflow of $345.
Net inflow of $20.
In: Accounting
2. Four roommates are planning to spend the weekend in their dorm room watching old movies, and they are debating how many to watch. Here is their willingness to pay for each film:
Judd Joel Gus Tim
first film $ 7 $ 5 $ 3 $ 2
second film 6 4 2 1
Third film 5 3 1 0
Fourth film 4 2 0 0
fifth film 3 1 0 0
d. Is there any way to split the cost to ensure that everyone benefits? What practical problems does this solution raise?
e. Suppose they agree in advance to choose the efficient number and to split the cost of the movies equally. When Judd is asked his willingness to pay, will he have an incentive to tell the truth? If so, why? If not, what will he be tempted to say?
f. What does this example teach you about the optimal provision of public goods?
In: Economics
Programming Language: JAVA
In this assignment you will be sorting an array of numbers using the bubble sort algorithm. You must be able to sort both integers and doubles, and to do this you must overload a method.
Bubble sort work by repeatedly going over the array, and when 2 numbers are found to be out of order, you swap those two numbers.
This can be done by looping until there are no more swaps being made, or using a nested for loop, meaning the array of length n is checked n2 times.
Sample Run #1
Please enter the # of numbers to be sorted: 4
Enter 1 for int's or 2 for doubles: 2
Enter number: 4
Enter number: 3
Enter number: 2
Enter number: 1
3.0, 4.0, 2.0, 1.0
3.0, 2.0, 4.0, 1.0
2.0, 3.0, 4.0, 1.0
2.0, 3.0, 1.0, 4.0
2.0, 1.0, 3.0, 4.0
1.0, 2.0, 3.0, 4.0
In: Computer Science
Problem 3-22
Two independent methods of forecasting based on judgment and
experience have been prepared each month for the past 10 months.
The forecasts and actual sales are as follows:
| Month | Sales | Forecast 1 | Forecast 2 |
| 1 | 830 | 800 | 780 |
| 2 | 835 | 825 | 830 |
| 3 | 790 | 800 | 820 |
| 4 | 800 | 815 | 830 |
| 5 | 785 | 820 | 815 |
| 6 | 825 | 805 | 786 |
| 7 | 775 | 770 | 805 |
| 8 | 860 | 830 | 820 |
| 9 | 810 | 805 | 785 |
| 10 | 810 | 845 | 840 |
a. Compute the MSE and MAD for each forecast.
(Round your answers to 2 decimal
places.)
| MSE | MAD | |
| Forecast 1 | ||
| Forecast 2 | ||
b. Compute MAPE for each forecast.
(Round your intermediate calculations to 5 decimal places
and final answers to 4 decimal places.)
| MAPE F1 | % |
| MAPE F2 | % |
In: Operations Management
In C++
Design a program to calculate the stock purchasing and selling transactions.
1. ask the user to enter the name of the stock purchased, the number of share purchased, and the price per share purchased
2. assume the buyer pays 2% of the amount he paid for the stock purchase as broker commission
3. assume that the buyer sold all stocks. Ask the user to enter the price per share sold.
4. assume the buyer will pay another 2% of the amount he received for selling the stock as broker commission
the program will calculate and display:
1. the amount of money he paid for the stock purchase
2. the amount of commission he paid to the broker for purchase transaction
3. the amount he sold the stock for
4. the amount of commission he paid to the broker for purchase selling
5. the possible profit he made after selling his stock and paying the two commissions to the broker
Requirements:
1. program well documented
In: Computer Science
The following ANOVA table and accompanying information are the result of a randomized block ANOVA test.
Summary Count Sum Average Variance
1 4 443 110.8 468.9
2 4 275 68.8 72.9
3 4 1,030 257.5 1891.7
4 4 300 75.0 433.3
5 4 603 150.8 468.9
6 4 435 108.8 72.9
7 4 1,190 297.5 1891.7
8 4 460 115.0 433.3
Sample 1 8 1,120 140.0 7142.9
Sample 2 8 1,236 154.5 8866.6
Sample 3 8 1,400 175.0 9000.0
Sample 4 8 980 122.5 4307.1
ANOVA
Source of
Variation SS df MS F p-value F-crit
Rows 199,899 7 28557.0 112.8 0.0000 2.488
Columns 11,884 3 3961.3 15.7 0.0000 3.073
Error 5,317 21 253.2
Total 217,100 31
In: Statistics and Probability
a) gravimetric analysis is very useful for routine monitoring of ions present in relatively high concentrations. why is gravimetric analysis not used for determining trace amounts of ions?
b) from .323g of an unknonw sample of MxCLy, .523 g AgCl was recovered using gravimetric analysis employed in this experiment. what is the percentage of Cl- in the unknown sample? what is the theoretical molat wieght of metal in the chlorite salt sample MxCly for hte following given:
1. x=1, y= 1
2. x=1, y=2
c. x=2, y=4
In: Chemistry
Suppose that 1/2 of all cars sold at a Nissan dealer in a given year are Altimas, 1/3 are Maximas, and the rest are Sentras. Suppose that 3/4 of the Altimas, 1/2 of the Maximas, and 1/2 of the Sentras have a moon roof. Answer the following questions. For each question, first decide whether the probability is a conditional probability or not.
What is the probability a randomly selected car has a moon roof?
What is the probability that a randomly selected car has a moon roof given it is a Sentra?
What is the probability a randomly selected car is a Maxima if it has a moon roof?
In: Math
A consumer has an income R. She can choose between two goods: wine and beer. Lets assume the price of a glass of wine (Pw) is three and the price of a glass of beer (Pb) is two. We denote the consumption of wine as Xw and the consumption of beer Xb Write the budget constraint of the consumer. Compute the slope of the budget line and represent it on a graph. The following tables give the different bundles of goods w and b, giving a utility level U(w,b) = 12.5, U(w,b) = 18 and U(w,b) = 24.5 (b) (4 points) Draw the three indifference curves. Given their shapes, would you say that wine and beer are complementary goods or substitute goods? What should be the impact of an increase of Pb on the demand for wine? (c) (4 points) Define and explain the concept of marginal rate of substitution. Com- pute the marginal rate of substitution if the consumer has the utility function of the form: U(Xw,Xb)=(Xw +4)(Xw +Xb) (d) (4 points) What is the value of the MRS at the optimum? What is the optimal bundle for this case? To reduce the public deficit, the government decided to double the tax on beer. Lets assume the price of beer goes from two to three. The price of wine remains the same. (e) (4 points) What is the new opportunity cost of a glass of beer? Using a graph, show the effect of this tax on the optimal decision of the consumer.
|
U(w, b) |
Xw |
Xb |
U(w, b) |
Xw |
Xb |
U(w, b) |
Xw |
Xb |
|
12.5 |
0 0.5 1 1.5 2 |
3.1 2.3 1.5 0.8 0.1 |
18 |
0 0.5 1 1.5 2 |
4.5 3.5 2.6 1.8 1 |
24.5 |
0 0.5 1 1.5 2 |
6.1 5 3.9 2.9 2.1 |
Lets assume now that the consumer can choose between beer and champagne. The table below gives the optimal quantity of beer and champagne depending on the level of income.
|
R |
Xb |
Xc |
|
0 4 8 12 |
0 3 1 0 |
0 1 2 6 |
(4 points) Draw the Engel curves for each of the goods. (g) (4 points) Given the shape of the Engel curves, what can you say about each of the goods? (h) (4 points) If the consumer’s income decreased because of the coronavirus crisis, what would happen to the demand for beer?
In: Economics