5 Three Pirates Sharing 100 Gold Coins
Three pirates of different ages have a treasure of 100 gold coins. They decide to split the coins using this scheme:
The oldest pirate proposes how to share the coins, and ALL pirates (including the oldest) vote for or against it.
– If more than 50% (exclusive) of the pirates vote for it, then the coins will be shared that way and the game ends. Otherwise, the pirate proposing the scheme will be thrown overboard, and the process is repeated with the pirates that remain. Note that if exactly 50% of the pirates vote for it, then the pirate proposing the scheme will be thrown overboard.
– As pirates tend to be a bloodthirsty bunch. If a pirate would get the same number of coins if he voted for or against a proposal, he will vote against so that the pirate who proposed the plan will be thrown overboard.
Assuming that all 3 pirates are intelligent, rational, greedy, and do not wish to die, (and are rather good at math for pirates).
What will happen?
Assume now Captain Hook spots the scene and wants to share the gold as well. That is, now we have four pirates sharing the coins. Captain Hook will be the first to propose a scheme to share the coins. Assume the same rule applies. What will happen?
In: Economics
Suppose the government wants to reduce the total pollution emitted by three local firms. Currently, each firm is creating 4 units of pollution in the area, for a total of 12 pollution units. If the government wants to reduce total pollution in the area to 6 units, it can choose between the following two methods:
Available Methods to Reduce Pollution
1. The government sets pollution standards using regulation.
2. The government allocates tradable pollution permits.
Each firm faces different costs, so reducing pollution is more difficult for some firms than others. The following table shows the cost each firm faces to eliminate each unit of pollution. For each firm, assume that the cost of reducing pollution to zero (that is, eliminating all 4 units of pollution) is prohibitively expensive.
Cost of Eliminating the... | |||
|---|---|---|---|
| First Unit of Pollution | Second Unit of Pollution | Third Unit of Pollution | |
| (Dollars) | (Dollars) | (Dollars) | |
| Firm X | 60 | 80 | 120 |
| Firm Y | 500 | 675 | 1,100 |
| Firm Z | 75 | 100 | 160 |
Now, imagine that two government employees proposed alternative plans for reducing pollution by 6 units.
Method 1: Regulation
The first government employee suggests limiting pollution through regulation. To meet the pollution goal, the government requires each firm to reduce its pollution by 2 units.
Suppose the government wants to reduce the total pollution emitted by three local firms. Currently, each firm is creating 4 units of pollution in the area, for a total of 12 pollution units. If the government wants to reduce total pollution in the area to 6 units, it can choose between the following two methods:
| Available Methods to Reduce Pollution | |
| 1. | The government sets pollution standards using regulation. |
| 2. | The government allocates tradable pollution permits. |
Each firm faces different costs, so reducing pollution is more difficult for some firms than others. The following table shows the cost each firm faces to eliminate each unit of pollution. For each firm, assume that the cost of reducing pollution to zero (that is, eliminating all 4 units of pollution) is prohibitively expensive.
| Firm | Cost of Eliminating the... | ||
|---|---|---|---|
| First Unit of Pollution | Second Unit of Pollution | Third Unit of Pollution | |
| (Dollars) | (Dollars) | (Dollars) | |
| Firm X | 60 | 80 | 120 |
| Firm Y | 500 | 675 | 1,100 |
| Firm Z | 75 | 100 | 160 |
Now, imagine that two government employees proposed alternative plans for reducing pollution by 6 units.
Method 1: Regulation
The first government employee suggests limiting pollution through regulation. To meet the pollution goal, the government requires each firm to reduce its pollution by 2 units.
Complete the following table with the total cost to each firm of reducing its pollution by 2 units.
| Firm | Total Cost of Eliminating Two Units of Pollution |
|---|---|
| (Dollars) | |
| Firm X | |
| Firm Y | |
| Firm Z |
Method 2: Tradable Permits
Meanwhile, the other employee proposes using a different strategy to achieve the government's goal of reducing pollution in the area from 12 units to 6 units. This employee suggests that the government issue two pollution permits to each firm. For each permit a firm has in its possession, it can emit 1 unit of pollution. Firms are free to trade pollution permits with one another (that is, buy and sell them) as long as both firms can agree on a price. For example, if firm X agrees to sell a permit to firm Y at an agreed-upon price, then firm Y would end up with three permits and would need to reduce its pollution by only 1 unit while firm X would end up with only one permit and would have to reduce its pollution by 3 units. Assume the negotiation and exchange of permits are costless.
Because firm Y has high pollution-reduction costs, it thinks it might be better off buying a permit from firm X and a permit from firm Z so that it doesn't have to reduce its own pollution emissions. At which of the following prices are both firm X and firm Z willing to sell one of their permits to firm Y? Check all that apply.
Suppose the the government has set the trading price of a permit at $126 per permit.
Complete the following table with the action each firm will take at this permit price, the amount of pollution each firm will eliminate, and the amount it costs each firm to reduce pollution to the necessary level. If a firm is willing to buy two permits, assume that it buys one permit from each of the other firms. (Hint: Do not include the prices paid for permits in the cost of reducing pollution.)
| Firm | Initial Pollution Permit Allocation | Action | Final Amount of Pollution Eliminated | Cost of Pollution Reduction |
|---|---|---|---|---|
| (Units of pollution) | (Units of pollution) | (Dollars) | ||
| Firm X | 2 | |||
| Firm Y | 2 | |||
| Firm Z | 2 |
Regulation Versus Tradable Permits
Determine the total cost of eliminating six units of pollution using both methods, and enter the amounts in the following table. (Hint: You might need to get information from previous tasks to complete this table.)
| Proposed Method | Total Cost of Eliminating Six Units of Pollution |
|---|---|
| (Dollars) | |
| Regulation | |
| Tradable Permits |
In this case, you can conclude that eliminating pollution is costly to society when the government distributes tradable permits than when it regulates each firm to eliminate a certain amount of pollution.
In: Economics
Your parents have come to you for financial advice because you have told them about this incredible finance course you are taking and they are paying for. Your parents have been offered an investment that will pay $100 per year forever and the first cash flow will occur 11 years from today. If interest rates are expected to be 6.125% forever;
a. What is this investment worth today? HINT: be sure to include a timeline in your explanation to your parents. Show your work and explain your answer, not done in excel. b. Your parents have been offered another investment that will pay $90 per year forever and the first cash flow will occur 11 years from today; however, the cash flow amounts are expected to grow at 1% forever. If interest rates are expected to be 6.125% forever, what is this investment worth today and which investment should they take? HINT: be sure to include a time line in your explanation to your parents. Show your work and formulas, timeline, not done in excel.
In: Finance
Vacation Destinations offers its employees the option of contributing up to 6% of their salaries to a voluntary retirement plan, with the employer matching their contribution. The company also pays 100% of medical and life insurance premiums. Assume that no employee's cumulative wages exceed the relevant wage bases. Payroll information for the first biweekly payroll period ending February 14 is listed below. Wages and salaries $ 1,300,000 Employee contribution to voluntary retirement plan 54,600 Medical insurance premiums paid by employer 27,300 Life insurance premiums paid by employer 5,200 Federal and state income tax withheld 325,000 Social Security tax rate 6.20 % Medicare tax rate 1.45 % Federal and state unemployment tax rate 6.20 % Required: 1. Record the employee salary expense, withholdings, and salaries payable. 2. Record the employer-provided fringe benefits. 3. Record the employer payroll taxes. Record the necessary entry for the scenarios given above. (If no entry is required for a transaction/event, select "No Journal Entry Required" in the first account field.)
In: Accounting
In: Finance
abc ltd. revenue for 2012 amounted to $564 000 (2011- $315 000) purchases of inventory for the two years were as follows: 2012 - $303 000 2011 - $182 500 operating expenses were : 2012 $100 000 2011 $78 000 profit before tax at the end of 2012 was $27 500. no dividends had been paid in the last few years. taking into account the above information, the directors decided to change the basis for valuing inventories to weighted average cost as it will result in a more appropriate presentation of events/ transaction in the financial statements of the company.a summary of the closing inventories is provided below: 2009 ($) 2010 ($) 2011 ($) 2012 ($) on the first in, first out method 18 000 19 500 27 000 48 000 on t he wei ght ed aver age cost met hod 19 000 22 900 34 800 51 000required prepare the statement of comprehensive income for abc ltd for the year ended 31 december 2012, applying the new inventory valuation method.
In: Accounting
Pantanal, Inc., manufactures car seats in a local factory. For costing purposes, it uses a first-in, first-out (FIFO) process costing system. The factory has three departments: Molding, Assembling, and Finishing. Following is information on the beginning work-in-process inventory in the Assembling Department on August 1: Costs Degree of Completion Work-in-process beginning inventory (12,000 units) Transferred-in from Molding $ 102,000 100 % Direct materials costs 160,600 60 Conversion costs 60,000 40 Work-in-process balance (August 1) $ 322,600 During August, 103,000 units were transferred in from the Molding Department at a cost of $2,039,400 and started in Assembling. The Assembling Department incurred other costs of $1,066,870 in August as follows: August Costs Direct materials costs $ 811,580 Conversion costs 255,290 Total August costs $ 1,066,870 At the end of August, 12,000 units remained in inventory that were 80 percent complete with respect to direct materials and 50 percent complete with respect to conversion. Required: Compute the cost of goods transferred out in August and the cost of work-in-process en
In: Accounting
In: Finance
IN JAVA.
I have the following code (please also implement the Tester to test the methods )
And I need to add a method called public int remove() that should remove the first integer of the array and return it at the dame time saving the first integer and bring down all other elements.
After it should decrease the size of the array, and after return and save the integer.
package ourVector;
import java.util.Scanner;
public class ourVector {
private int[] A;
private int size;
public ourVector() {
A = new int[100];
size = 0;
}
public ourVector(int s) {
A = new int[s];
size = 0;
}
public int size() {
return size;
}
public int capacity() {
return A.length;
}
public boolean isEmpty() {
if(size == 0)
return true;
else
return false;
}
public String toString() {
if(this.isEmpty())
return "[]";
String st = "[";
for(int i = 0; i < size-1; i++) {
st += A[i] + ", ";
}
st += A[size -1 ] + "]";
return st;
}
public void add(int e) {
A[size] = e;
size++;
}In: Computer Science
HI, I hope you are doing well. I really don't understand this question and don't know how to solve it at all because I am completely new to this c++ programming. can you please explain each line of code with long and clear comments? please think of me as someone who doesn't know to code at all. and I want this code to be written in c++
thank you very much and I will make sure to leave thumbs up.
For this problem, you will write a program using two queues.
Generate n random numbers between 10 and 100 (both inclusive), where n>9.
The value of n should be taken as input from the user and n should be >9.
The numbers could be duplicated.
Enqueue all these numbers to the first queue.
The objective is to find the numbers whose sum of digits is odd and enqueue them to the second queue.
The remaining numbers (whose sum of digits is even) should stay in the first queue.
You need to print the generated random numbers and content of both queues.
In: Computer Science