The article below provides some context for Questions 1-2 What might a trade war between America and China look like? Punitive American tariffs on China would leave everybody worse off Feb 5th 2017, The Economist DONALD TRUMP vilified the Chinese government on the campaign trail, accusing it of manipulating China’s currency, stealing America’s intellectual property and “taking our jobs”. This hostility was not just posturing for the election season. In 2012 he had falsely accused the Chinese of inventing the concept of global warming—to make American manufacturing uncompetitive, he said. Tensions are high: Xi Jinping, the Chinese president, reminded global elites assembled at Davos that “no one will emerge as a winner in a trade war”. If America targets Chinese trade, China will hit back. So what might a trade war between the two economic powers play out? There are two ways in which talk might translate to action. Mr Trump might try simply to enforce the rules of global trade in the court rooms of the World Trade Organisation (WTO). Since America has no bilateral trade deal with China, WTO rules define what is and is not allowed. Mr Trump might, with some justification, accuse China of boosting its economy with subsidies and flooding some American markets with cheap imports. He will find that the Obama administration had already initiated a number of legal cases against China at the WTO. His underlings have suggested that the Trump administration might go further, for example by launching cases against suspected Chinese dumpers, rather than leaving it to American industry. Crucially, however, while the Chinese would probably retaliate, perhaps suddenly finding health-and-safety problems with American food exports, this chain of events need not descend into a trade war. The rules of the WTO are designed specifically to handle this kind of dispute. If it finds that China is indeed not playing by the rules, then there are clear limits on how America can retaliate. If the system works as it should, any recriminations would be contained. … There would be some winners from a trade war: in the short run the American government might well see more tax revenue, and some American companies would enjoy being sheltered from foreign competition. The biggest casualty may not even be the American consumer. After the Second World War, rich countries coordinated to avoid a race towards higher tariffs, creating the General Agreement on Tariffs and Trade, which in 1995 grew into the WTO. By clubbing together they recognized the destruction of the 1930s, when countries erected trade barriers to protect their domestic economies but ended up harming themselves as a result. A trade war would mean abandoning an institution that recognizes that countries are stronger when they work together.
NOTE: A blanket tariff is a tariff that is applied on all goods originating from the same country.
End of the article (QUESTION 1) The author of the article writes: ‘Tensions are high: Xi Jinping, the Chinese president, reminded global elites assembled at Davos that “no one will emerge as a winner in a trade war”.’ Show how a trade war can be modelled as a prisoner’s dilemma, including how it relates to the quoted statement above. Ensure you differentiate between a single-period and repeated prisoner’s dilemma.
(QUESTION 2) If the USA applies a blanket import tariff on China, who are the winners and losers in the USA? Is it efficient? Ensure you pay attention to whether the USA is a large or small country according to the definition in neoclassical trade theory.
In: Economics
Project Part 4:
Part Four: Complete the addCruise() Method
1. In the Driver.java file, see below for where you will add code
to finish the addCruise() method.
// Adda New Cruise public static void addCruise() {
// complete this method
}
2. Next, review the required functionality of the “Add Cruise” menu
option below.
Menu Option Validation Check(s) Functionality
Add Cruise - Ensures cruise does not already exist in our system -
Ensures all class variables are populated
Adds cruise to system
3. Add Cruise Method: Write the code for the addCruise() method.
When your code is complete, test the output. Be sure that the
completed method does the following:
a. Prompts the user for input b. Requires all class variables when
creating a cruise c. Validates the ship name and ensures it is in
service d. Ensures ship name is not already assigned a cruise e.
Adds the new cruise to the cruiseList ArrayList if validation
checks
Given cruise code:
public class Cruise {
// Class Variables
private String cruiseName;
private String cruiseShipName;
private String departurePort;
private String destination;
private String returnPort;
// Constructor - default
Cruise() {
}
// Constructor - full
Cruise(String tCruiseName, String tShipName, String tDeparture,
String tDestination, String tReturn) {
cruiseName = tCruiseName;
cruiseShipName = tShipName;
departurePort = tDeparture;
destination = tDestination;
returnPort = tReturn;
}
// Accessors
public String getCruiseName() {
return cruiseName;
}
public String getCruiseShipName() {
return cruiseShipName;
}
public String getDeparturePort() {
return departurePort;
}
public String getDestination() {
return destination;
}
public String getReturnPort() {
return returnPort;
}
// Mutators
public void setCruiseName(String tVar) {
cruiseName = tVar;
}
public void setCruiseShipName(String tVar) {
cruiseShipName = tVar;
}
public void setDeparturePort(String tVar) {
departurePort = tVar;
}
public void setDestination(String tVar) {
destination = tVar;
}
public void setReturnPort(String tVar) {
returnPort = tVar;
}
// print cruise details
public void printCruiseDetails() {
// complete this method
}
Here is the driver code that needs completion:
import java.util.ArrayList;
import java.util.Scanner;
import static java.lang.Integer.parseInt;
public class Driver {
// class variables (add more as needed)
private static ArrayList<Ship> shipList = new
ArrayList();
private static ArrayList<Cruise> cruiseList = new
ArrayList();
private static ArrayList<Passenger> passengerList = new
ArrayList();
public static void main(String[] args) {
initializeShipList(); // initial ships
initializeCruiseList(); // initial cruises
initializePassengerList(); // initial passengers
// add loop and code here that accepts and validates user
input
// and takes the appropriate action. include appropriate
// user feedback and redisplay the menu as needed
}
// hardcoded ship data for testing
// Initialize ship list
public static void initializeShipList() {
add("Candy Cane", 20, 40, 10, 60, true);
add("Peppermint Stick", 10, 20, 5, 40, true);
add("Bon Bon", 12, 18, 2, 24, false);
add("Candy Corn", 12, 18, 2, 24, false);
}
// hardcoded cruise data for testing
// Initialize cruise list
public static void initializeCruiseList() {
Cruise newCruise = new Cruise("Southern Swirl", "Candy Cane",
"Miami", "Cuba", "Miami");
cruiseList.add(newCruise);
}
// hardcoded cruise data for testing
// Initialize passenger list
public static void initializePassengerList() {
Passenger newPassenger1 = new Passenger("Neo Anderson", "Southern
Swirl", "STE");
passengerList.add(newPassenger1);
Passenger newPassenger2 = new Passenger("Trinity", "Southern
Swirl", "STE");
passengerList.add(newPassenger2);
Passenger newPassenger3 = new Passenger("Morpheus", "Southern
Swirl", "BAL");
passengerList.add(newPassenger3);
}
// custom method to add ships to the shipList ArrayList
public static void add(String tName, int tBalcony, int
tOceanView,
int tSuite, int tInterior, boolean tInService) {
Ship newShip = new Ship(tName, tBalcony, tOceanView, tSuite,
tInterior, tInService);
shipList.add(newShip);
}
public static void printShipList(String listType) {
// printShipList() method prints list of ships from the
// shipList ArrayList. There are three different outputs
// based on the listType String parameter:
// name - prints a list of ship names only
// active - prints a list of ship names that are "in service"
// full - prints tabbed data on all ships
if (shipList.size() < 1) {
System.out.println("\nThere are no ships to print.");
return;
}
if (listType == "name") {
System.out.println("\n\nSHIP LIST - Name");
for (int i = 0; i < shipList.size(); i++) {
System.out.println(shipList.get(i));
}
} else if (listType == "active") {
System.out.println("\n\nSHIP LIST - Active");
System.out.println("-----------------------------------------------");
System.out.println(" Number of Rooms In");
System.out.print("SHIP NAME Bal OV Ste Int Service");
System.out.println("\n-----------------------------------------------");
for (Ship eachShip: shipList) {
if(eachShip.getType()==true)
eachShip.printShipData();
}
} else if (listType == "full") {
System.out.println("\n\nSHIP LIST - Full");
System.out.println("-----------------------------------------------");
System.out.println(" Number of Rooms In");
System.out.print("SHIP NAME Bal OV Ste Int Service");
System.out.println("\n-----------------------------------------------");
for (Ship eachShip: shipList)
eachShip.printShipData();
} else
System.out.println("\n\nError: List type not defined.");
}
public static void printCruiseList(String listType) {
if (cruiseList.size() < 1) {
System.out.println("\nThere are no cruises to print.");
return;
}
if (listType == "list") {
System.out.println("\n\nCRUISE LIST");
for (int i=0; i < cruiseList.size(); i++) {
System.out.println(cruiseList.get(i));
}
} else if (listType == "details") {
System.out.println("\n\nCRUISE LIST - Details");
System.out.println("------------------------------------------------------------------------------------------");
System.out.println("
|----------------------PORTS-----------------------|");
System.out.print("CRUISE NAME SHIP NAME DEPARTURE DESTINATION
RETURN");
System.out.println("\n-----------------------------------------------------------------------------------------");
for (Cruise eachCruise: cruiseList)
eachCruise.printCruiseDetails();
} else
System.out.println("\n\nError: List type not defined.");
}
public static void printPassengerList() {
if (passengerList.size() < 1) {
System.out.println("\nThere are no passengers to print.");
return;
}
System.out.println("\n\nPASSENGER LIST");
System.out.println("-----------------------------------------------------");
System.out.print("PASSENGER NAME CRUISE ROOM TYPE");
System.out.println("\n-----------------------------------------------------");
for (Passenger eachPassenger: passengerList)
eachPassenger.printPassenger();
}
// display text-based menu
public static void displayMenu() {
System.out.println("\n\n");
System.out.println("\t\t\tLuxury Ocean Cruise Outings");
System.out.println("\t\t\t\t\tSystem Menu\n");
System.out.println("[1] Add Ship [A] Print Ship Names");
System.out.println("[2] Edit Ship [B] Print Ship In Service
List");
System.out.println("[3] Add Cruise [C] Print Ship Full
List");
System.out.println("[4] Edit Cruise [D] Print Cruise List");
System.out.println("[5] Add Passenger [E] Print Cruise
Details");
System.out.println("[6] Edit Passenger [F] Print Passenger
List");
System.out.println("[x] Exit System");
System.out.println("\nEnter a menu selection: ");
}
// Add a New Ship
public static void addShip() {
// complete this method
}
// Edit an existing ship
public static void editShip() {
// This method does not need to be completed
System.out.println("The \"Edit Ship\" feature is not yet
implemented.");
}
// Add a New Cruise
public static void addCruise() {
// complete this method
}
// Edit an existing cruise
public static void editCruise() {
// method added to print ship's name vice memory
address
@Override
public String toString() {
return cruiseName;
}
}
In: Computer Science
Rainbow Cosmetics hires Tiffany as the Sales and Marketing Manager. She finds the culture of Rainbow Cosmetics is quite different from the companies that she worked before. In Rainbow Cosmetics, the staff of the department are divided into different teams, and members of each team have to work collaboratively to achieve the annual sales target. The winning team of the year would be rewarded with a team-based bonus. The personal achievement is also counted that the individual would be rewarded if they propose new ideas for new product development. The supervisors within the company are high tolerance in careless mistakes. The company will conduct a face-to-face interview with each of its employees for the plan of career development. Because of the arrangement, members within the teamwork aggressively just like they are running their own businesses. Tiffany used to work alone as a marketer, and she believes that teamwork is more time- consuming. She has a daughter who is two-years-old. She would like to spend more time with her.
(a) Identify and explain any FIVE cultural characteristics. Use them to describe the culture of the “Rainbow Cosmetics”.
(b) Describe the stages that Tiffany will process to adapt herself to the culture of “Rainbow Cosmetics”. Use examples to illustrate your answers.
In: Operations Management
lab of operating system:
you should do this on linux server its mandatory
please show your work by taking screenshot and show all the commands performed and show the result.
PROBLEM 1:
Create a file and name it f1
• Cerate a directory and name it d1
• Move f1 to d1
• Create a directory and name it d2
• Move d1 to d2
• Check if d1 is inside d2
• Check if f1 is inside d1
• While your (Current Working Directory) CWD is d1, move back f1 to home directory using relative path
• While your CWD is d1, create a directory d3 in home directory using relative path
• Rename d2 to dx
• Move and rename f1 to fx from d1 to home directory
In: Computer Science
In: Psychology
The following selected transactions were completed by Capers Company during October of the current year:
Oct. | 1 | Purchased merchandise from UK Imports Co., $13,377, terms FOB destination, n/30. |
3 | Purchased merchandise from Hoagie Co., $10,650, terms FOB shipping point, 2/10, n/eom. Prepaid freight of $230 was added to the invoice. | |
4 | Purchased merchandise from Taco Co., $14,350, terms FOB destination, 2/10, n/30. | |
6 | Issued debit memo to Taco Co. for $5,000 of merchandise returned from purchase on October 4. | |
13 | Paid Hoagie Co. for invoice of October 3. | |
14 | Paid Taco Co. for invoice of October 4 less debit memo of October 6. | |
19 | Purchased merchandise from Veggie Co., $25,850, terms FOB shipping point, n/eom. | |
19 | Paid freight of $430 on October 19 purchase from Veggie Co. | |
20 | Purchased merchandise from Caesar Salad Co., $23,000, terms FOB destination, 1/10, n/30. | |
30 | Paid Caesar Salad Co. for invoice of October 20. | |
31 | Paid UK Imports Co. for invoice of October 1. | |
31 | Paid Veggie Co. for invoice of October 19. |
Journalize the entries to record the transactions of Capers Company for October. Refer to the chart of accounts for the exact wording of the account titles. CNOW journals do not use lines for journal explanations. Every line on a journal page is used for debit or credit entries. CNOW journals will automatically indent a credit entry when a credit amount is entered.
Chart of Accounts
CHART OF ACCOUNTS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Capers Company | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
General Ledger | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Journal
Shaded cells have feedback.
Journalize the entries to record the transactions of Capers Company for October. Refer to the chart of accounts for the exact wording of the account titles. CNOW journals do not use lines for journal explanations. Every line on a journal page is used for debit or credit entries. CNOW journals will automatically indent a credit entry when a credit amount is entered.
All transactions on this page must be entered (except for post ref(s)) before you will receive Check My Work feedback.
PAGE 10
JOURNAL
ACCOUNTING EQUATION
Score: 22/301
DATE | DESCRIPTION | POST. REF. | DEBIT | CREDIT | ASSETS | LIABILITIES | EQUITY | |
---|---|---|---|---|---|---|---|---|
1 |
||||||||
2 |
||||||||
3 |
||||||||
4 |
||||||||
5 |
||||||||
6 |
||||||||
7 |
||||||||
8 |
||||||||
9 |
||||||||
10 |
||||||||
11 |
||||||||
12 |
||||||||
13 |
||||||||
14 |
||||||||
15 |
||||||||
16 |
||||||||
17 |
||||||||
18 |
||||||||
19 |
||||||||
20 |
||||||||
21 |
||||||||
22 |
||||||||
23 |
||||||||
24 |
Points:
4.39 / 60
Feedback
Check My Work
Journalize these transactions from the buyer's perspective. Discounts are taken on the amount owed to the seller, except for any freight costs.
Oct. 1, 3, 4, 19, & 20: Using the perpetual inventory system, purchases of inventory on account are recorded by debiting the merchandise inventory account and crediting the accounts payable account. Under FOB shipping point, freight is paid by the buyer, while FOB destination freight is the seller's expense. Often freight must be prepaid for the carrier to deliver.
Oct. 6: Any discounts or returns are recorded directly by the buyer who debits Accounts Payable and credits Merchandise Inventory, basically reversing what was done in recording the purchase.
Oct. 19: Freight expense increases the cost of the merchandise. However, freight is typically prepaid in cash.
Oct. 13: Since the invoice is paid within the discount period, the cash paid on account is the difference between the invoice and the discount.
Oct. 14: Returns are not eligible for discounts. Since the invoice is paid within the discount period, Accounts Payable is debited for the balance in the account. The cash paid on account is the difference between the invoice and the discount, less the returns.
Oct. 30: Since the invoice is paid within the discount period, the cash paid on account is the difference between the invoice and the discount.
Oct. 31 (UK Imports & Veggie): Since no discounts are allowed, no discounts are recorded. The cash paid on account in each case is equal to the invoice.
In: Accounting
The following selected transactions were completed by Capers Company during October of the current year:
Oct. | 1 | Purchased merchandise from UK Imports Co., $14,448, terms FOB destination, n/30. |
3 | Purchased merchandise from Hoagie Co., $9,950, terms FOB shipping point, 2/10, n/eom. Prepaid freight of $220 was added to the invoice. | |
4 | Purchased merchandise from Taco Co., $13,650, terms FOB destination, 2/10, n/30. | |
6 | Issued debit memo to Taco Co. for $4,550 of merchandise returned from purchase on October 4. | |
13 | Paid Hoagie Co. for invoice of October 3. | |
14 | Paid Taco Co. for invoice of October 4 less debit memo of October 6. | |
19 | Purchased merchandise from Veggie Co., $27,300, terms FOB shipping point, n/eom. | |
19 | Paid freight of $400 on October 19 purchase from Veggie Co. | |
20 | Purchased merchandise from Caesar Salad Co., $22,000, terms FOB destination, 1/10, n/30. | |
30 | Paid Caesar Salad Co. for invoice of October 20. | |
31 | Paid UK Imports Co. for invoice of October 1. | |
31 | Paid Veggie Co. for invoice of October 19. |
Journalize the entries to record the transactions of Capers Company for October. Refer to the Chart of Accounts for exact wording of account titles.
Chart of Accounts
CHART OF ACCOUNTS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Capers Company | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
General Ledger | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Journal
Shaded cells have feedback.
Journalize the entries to record the transactions of Capers Company for October. Refer to the Chart of Accounts for exact wording of account titles.
How does grading work?
PAGE 10
JOURNAL
ACCOUNTING EQUATION
Score: 275/301
DATE | DESCRIPTION | POST. REF. | DEBIT | CREDIT | ASSETS | LIABILITIES | EQUITY | |
---|---|---|---|---|---|---|---|---|
1 |
✔ |
✔ |
✔ |
✔ |
||||
2 |
✔ |
✔ |
✔ |
|||||
3 |
✔ |
✔ |
✔ |
|||||
4 |
✔ |
|||||||
5 |
✔ |
✔ |
✔ |
|||||
6 |
✔ |
✔ |
||||||
7 |
✔ |
✔ |
✔ |
|||||
8 |
✔ |
✔ |
||||||
9 |
✔ |
✔ |
✔ |
|||||
10 |
✔ |
✔ |
✔ |
|||||
11 |
✔ |
✔ |
✔ |
|||||
12 |
✔ |
✔ |
✔ |
|||||
13 |
✔ |
✔ |
✔ |
✔ |
||||
14 |
✔ |
✔ |
✔ |
|||||
15 |
✔ |
✔ |
✔ |
✔ |
||||
16 |
✔ |
✔ |
✔ |
|||||
17 |
✔ |
✔ |
✔ |
|||||
18 |
✔ |
✔ |
||||||
19 |
✔ |
✔ |
✔ |
|||||
20 |
✔ |
✔ |
||||||
21 |
✔ |
✔ |
✔ |
✔ |
||||
22 |
✔ |
✔ |
✔ |
|||||
23 |
✔ |
✔ |
✔ |
✔ |
||||
24 |
✔ |
✔ |
✔ |
Points:
54.82 / 60
Feedback
Check My Work
Journalize these transactions from the buyer's perspective. Discounts are taken on the amount owed to the seller, except for any freight costs.
Oct. 1, 3, 4, 19, & 20: Using the perpetual inventory system, purchases of inventory on account are recorded by debiting the merchandise inventory account and crediting the accounts payable account. Under FOB shipping point, freight is paid by the buyer, while FOB destination freight is the seller's expense. Often freight must be prepaid for the carrier to deliver.
Oct. 6: Any discounts or returns are recorded directly by the buyer who debits Accounts Payable and credits Merchandise Inventory, basically reversing what was done in recording the purchase.
Oct. 19: Freight expense increases the cost of the merchandise. However, freight is typically prepaid in cash.
Oct. 13: Since the invoice is paid within the discount period, the cash paid on account is the difference between the invoice and the discount.
Oct. 14: Returns are not eligible for discounts. Since the invoice is paid within the discount period, Accounts Payable is debited for the balance in the account. The cash paid on account is the difference between the invoice and the discount, less the returns.
Oct. 30: Since the invoice is paid within the discount period, the cash paid on account is the difference between the invoice and the discount.
Oct. 31 (UK Imports & Veggie): Since no discounts are allowed, no discounts are recorded. The cash paid on account in each case is equal to the invoice.
In: Accounting
What are the UNIX commands for each of these steps?
1. Copy all of the files in your Files directory to the Backup
directory.
2. Create an ITE130 directory in the Classes Directory
3. Move all the ITE 130 files from the backup directory to the
ITE130 directory.
4. Redirect echo step 19 to mark this step in the lab3.txt
file
5. Display all of the directories and sub-directories including
files so I can verify you completed all the
above steps correctly.
6. Repeat the above step and redirect the output to the file
lab3.txt without erasing what is already in it!
In: Computer Science
There are the two-party systems in America. cover the topic in a blog post of at least 350 words. Information your blog must include is: Information on why we have a two-party system (THIS IS THE MOST IMPORTANT) An examination of the two major parties in America Explain that other parties exist (and a bit why) Your blog must include specific information from the readings. must cite the assigned readings in the text (parenthetical citations) and have a list of your sources the end of your blog post. As a reminder, this is a blog post for a fictitious website. In this case, think about that which would help keep a reader interested (use of graphics, current events, appropriate font styles) while still maintaining good academic writing/argumentation.
POLI1
In: Accounting
Weatherwise is a magazine published by the American Meteorological Society. One issue gives a rating system used to classify Nor'easter storms that frequently hit New England and can cause much damage near the ocean. A severe storm has an average peak wave height of μ = 16.4 feet for waves hitting the shore. Suppose that a Nor'easter is in progress at the severe storm class rating. Peak wave heights are usually measured from land (using binoculars) off fixed cement piers. Suppose that a reading of 33 waves showed an average wave height of x = 16.7 feet. Previous studies of severe storms indicate that σ = 3.5 feet. Does this information suggest that the storm is (perhaps temporarily) increasing above the severe rating? Use α = 0.01.
(a) What is the level of significance?
State the null and alternate hypotheses.
H0: μ < 16.4 ft; H1: μ = 16.4 ftH0: μ = 16.4 ft; H1: μ < 16.4 ft H0: μ = 16.4 ft; H1: μ > 16.4 ftH0: μ > 16.4 ft; H1: μ = 16.4 ftH0: μ = 16.4 ft; H1: μ ≠ 16.4 ft
(b) What sampling distribution will you use? Explain the rationale
for your choice of sampling distribution.
The standard normal, since the sample size is large and σ is unknown.The Student's t, since the sample size is large and σ is unknown. The Student's t, since the sample size is large and σ is known.The standard normal, since the sample size is large and σ is known.
What is the value of the sample test statistic? (Round your answer
to two decimal places.)
(c) Estimate the P-value.
P-value > 0.2500.100 < P-value < 0.250 0.050 < P-value < 0.1000.010 < P-value < 0.050P-value < 0.010
Sketch the sampling distribution and show the area corresponding to
the P-value.
(d) Based on your answers in parts (a) to (c), will you reject or
fail to reject the null hypothesis? Are the data statistically
significant at level α?
At the α = 0.01 level, we reject the null hypothesis and conclude the data are statistically significant.At the α = 0.01 level, we reject the null hypothesis and conclude the data are not statistically significant. At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are statistically significant.At the α = 0.01 level, we fail to reject the null hypothesis and conclude the data are not statistically significant.
(e) Interpret your conclusion in the context of the
application.
There is sufficient evidence at the 0.01 level to conclude that the storm is increasing above the severe rating.There is insufficient evidence at the 0.01 level to conclude that the storm is increasing above the severe rating.
In: Statistics and Probability