Questions
CODE IN PYTHON: Your task is to write a simple program that would allow a user...

CODE IN PYTHON:

Your task is to write a simple program that would allow a user to compute the cost of a road trip with a car. User will enter the total distance to be traveled in miles along with the miles per gallon (MPG) information of the car he drives and the per gallon cost of gas. Using these 3 pieces of information you can compute the gas cost of the trip.

User will also enter the number of days it will take to complete the trip. For each night (day-1 nights), user will need a hotel. We will ask for the number of stars for the hotel the user wants to stay. 5 star hotel costs $250 per night. 4 star hotel costs $180 per night. 3 star hotel costs $120 per night, 2 star hotel costs $100 per night and finally 1 star hotel costs $50 per night. Using the hotel costs and the number of nights users will need to stay at a hotel, you can compute the hotel cost of the trip.

Please note that 5 star and 4 star hotels give 10% discount if the user will be staying more than 2 nights -- (these are chain hotels, so even if you are staying at different locations discount apply).

We should also account for the cost of meals. This depends on the type of hotel the user is staying. In general, we take 20% of hotel cost as the meal cost (after 10% hotel discount if applicable).

Example Run #1

Distance: 350

MPG : 15

Gas Price: 3.79

Days Traveling : 3

Hotel Stars (1-5) : 3

Your total cost is $376.43333333333334

Example Run #2

Distance: 400

MPG : 20

Gas Price: 2.99

Days Traveling: 1

Hotel Stars (1-5): 5

Your total cost is $59.800000000000004.

Example Run #3

Distance: 150 MPG : 25 Gas Price: 1.99 Days Traveling : 2 Hotel Stars (1-5): 5 Your total cost is $311.94.

In: Computer Science

Economics is everywhere – even in South Park. If you’re not familiar, South Park is an...

Economics is everywhere – even in South Park. If you’re not familiar, South Park is an animated sitcom for adults featuring the adventures of four grade-school boys in the town of South Park, Colorado. In season 13, episode 14, the boys went to Pi Pi’s Water Park. Everybody is peeing in the pool and the pee concentration ends up being so high that it causes a flood that destroys the place. You can watch a clip of the episode here:

Tragedy of the Commons on South Park - Peeing in the Pool  

While this is a silly example of tragedy of the commons, there are far more serious examples.

"More widespread wearing of face masks could prevent tens of thousands of deaths by COVID-19, epidemiologists and mathematicians project.

A model from the University of Washington's Institute for Health Metrics and Evaluation shows that near-universal wearing of cloth or homemade masks could prevent between 17,742 and 28,030 deaths across the US before Oct. 1.

The group, which advises the White House as well as state and local governments, is submitting the model for peer review, says Theo Vos., Professor of Health Metrics Sciences at IHME.

Another projection developed by researchers at Arizona State University in April showed that 24–65% of projected deaths could be prevented in Washington state in April and May if 80% of people wore cloth or homemade masks in public.

These projections shed light on the promises face masks might hold as COVID-19 cases surge in some states and more local authorities mandate the wearing of face masks."

There are several people against face mask wearing despite the recommendations from scientists and healthcare officials. See an example below:

Viewers furious with Walmart shoppers not wearing face masks

There are several options to solving or preventing the tragedy of the commons. Think about what the scientists are saying about how "Face Masks" can reduce the spread of COVID-19 and then answer the following questions:

  1. Does failure to wear a face mask present a tragedy of the commons? Why or Why not?
  2. What are some of the issues/concerns/problems with each of the possible “solutions” to the tragedy of the commons (South Park and the face mask issue)? Do you know of any examples where one of these solutions has been successfully implemented?
  3. Can you think of any other examples (silly or serious) of tragedy of the commons?
  4. What other economic concepts are presented in the South Park clip and/or the paragraph about face mask?
  5. How are externalities related to the concept of the tragedy of the commons? Are the solutions to each similar or different? How?

In: Economics

Badger Air is an all-cargo airline that operates on four continents. Its headquarters are in the...

Badger Air is an all-cargo airline that operates on four continents. Its headquarters are in the United States. It has two divisions, Cargo and Maintenance. Cargo Division flies cargo to and from international locations, but does not operate services between two points outside the United States. That is, the planes fly to and from the United States only. Badger Air also has a maintenance facility located in Hong Kong and schedules its planes in such a way that most maintenance can be done there. In addition to Badger aircraft, Maintenance Division also provides services to Asian passenger and cargo air companies.

All of the Cargo Division income is deemed to be earned in the United States. Income from the Maintenance Division is deemed to be earned in Hong Kong. Badger’s income deemed attributable to the United States is taxed at a 40 percent rate. Its income attributable to Hong Kong is taxed at a 25 percent rate. Last year, Maintenance Division had operating revenues of $46 million, excluding services performed for Cargo Division aircraft. Cargo Division revenues last year were $135 million.

Operating costs of Maintenance Division were $36 million last year and operating costs for the Cargo Division, before considering maintenance costs, totaled $54 million. No similar maintenance facilities in Hong Kong are available to Badger.

Recently, a maintenance facility opened in the Philippines. That facility proposed to Cargo Division that it could conduct the maintenance in the Philippines. The facility proposed a price of $42 million for the services that Maintenance Division in Hong Kong provided to Cargo Division. Badger management estimated that had the services been provided in United States, the costs for the year would have totaled $74 million. In its latest tax filing, Badger assigned the $74 million as the appropriate transfer price Cargo paid for the services from Maintenance. The U.S. tax authorities denied that expense and instead applied $42 million dollars as the appropriate transfer price.

Required:

1. Calculate the revenues, costs, income taxes and total taxes for both Cargo Division and the Maintenance Division using the Philippines basis. (Do not round intermediate calculations. Enter your answers in millions rounded to 2 decimal places.)

2. Calculate the revenues, costs, income taxes and total taxes for both Cargo Division and the Maintenance Division using the U.S. basis. (Do not round intermediate calculations. Enter your answers in millions rounded to 2 decimal places.)

3. What is the difference in tax costs to Badger between the alternate transfer prices for maintenance services, that is, the difference between a transfer price of $42 million and $74 million? (Do not round intermediate calculations. Enter your answer in millions rounded to 2 decimal places.)

In: Accounting

1. During the Industrial Revolution, a series of accidents in Pennsylvania and Virginia coal mines, related...

1.

During the Industrial Revolution, a series of accidents in Pennsylvania and Virginia coal mines, related to long hours, poor safety policies and low pay, caused workers to form one of America's first successful workers unions. Over a series of months, striking workers did not mine coal and mine-owners refused to negotiate. The stakes for Americans, who relied on coal for heat and as fuel for transportation grew as the strike went on. What was the eventual result of this event?

a. As coal became increasingly scarce, mine owners simply sold the mines to speculators and retired to Switzerland.

b. As coal became increasingly scarce in the United States, President Theodore Roosevelt became the first president in US history to force mine-owners to negotiate with the workers union, thereby securing more rights for the workers.

c. Nothing changed at the mines as owners refused to negotiate, until Charlie Chaplain gained the sympathy of the American voters through a series of progressive films.

d. Nothing at all changed. The descendants of the workers are still at the mines protesting for better working conditions and pay.

2.

The Spanish-American War, while initially helping Cuba to become independent from Spain, was really an opportunity for the United States to:

a. gain Cuba as a trading partner for American-grown corn.

b. destroy the Spanish cattle industry, thereby allowing the American cattle industry, which was centered in Chicago, to rise to world prominence.

c. take the Spanish territories of Puerto Rico, Guam, and the Philippines to use as refuling stations for American merchant ships heading to and from Asia.

d. convince Alaska to join the United States as a territory or "suffer the consequences."

3.

SELECT ALL THAT APPLY: Some of the reasons the United States finally entered WWI included:

a.The loss of Americans from the sinking of the Lusitania off the Irish coast, due to a German U-boat attack.

b.If the Allied Powers lost the war, America would lose a great deal of money invested in British and French forces.

c.If the Allies lost the war, America would no longer be able to purchase cotton from the French colonies in North Africa, which would destroy the American textile industry.

d. The German offer of an alliance to Mexico, which required Mexico to attack the United States. This was intended by Germany to keep the United States out of the war.

4.

The Triangle Shirtwaist Fire was one of the most publicized industrial tragedies of the 20th century, in which 146 workers were killed in a fire. Why did so many die in this incident?

a.The elevators did not have power going to them, due to a short in their electrical components that led to the fire in the first place.

b. Fire hoses on fire-trucks of the period could only reach 5 floors high, and this fire was mainly on the 8th floor.

c.The escape stairways were blocked by unrepaired railings.

d.The doors of the factory were locked to prevent workers from taking breaks or stealing scraps of cloth.

In: Economics

1. Suppose approximately 80% of all marketing personnel are extroverts, whereas about 55% of all computer...

1. Suppose approximately 80% of all marketing personnel are extroverts, whereas about 55% of all computer programmers are introverts. (For each answer, enter a number. Round your answers to three decimal places.)

(a) At a meeting of 15 marketing personnel, what is the probability that 10 or more are extroverts?


What is the probability that 5 or more are extroverts?


What is the probability that all are extroverts?

(b) In a group of 4 computer programmers, what is the probability that none are introverts?


What is the probability that 2 or more are introverts?


What is the probability that all are introverts?

2.  Innocent until proven guilty? In Japanese criminal trials, about 95% of the defendants are found guilty. In the United States, about 60% of the defendants are found guilty in criminal trials. (Source: The Book of Risks, by Larry Laudan, John Wiley and Sons) Suppose you are a news reporter following ten criminal trials. (For each answer, enter a number.)

(a) If the trials were in Japan, what is the probability that all the defendants would be found guilty? (Round your answer to three decimal places.)


What is this probability if the trials were in the United States? (Round your answer to three decimal places.)

(b) Of the ten trials, what is the expected number of guilty verdicts in Japan? (Round your answer to two decimal places.)
verdicts

What is the expected number in the United Sates? (Round your answer to two decimal places.)
verdicts

What is the standard deviation in Japan? (Round your answer to two decimal places.)
verdicts

What is the standard deviation in the United States? (Round your answer to two decimal places.)
verdicts

In: Statistics and Probability

Since its opening in 1977, Ocean Park was the only theme park in Hong Kong. The...

Since its opening in 1977, Ocean Park was the only theme park in Hong Kong. The park, owned by the Hong Kong government, is a nonprofit organization that aims to provide visitors a unique experience in entertainment, education, and conservation. In the absence of competition, Ocean Park had existed without direction and focus. When Hong Kong officials signed an agreement to bring Disneyland to Hong Kong in 1999, it seemed as if it would be the end of Ocean Park. In this unequal competition, Ocean Park emerged the surprise winner. Quickly sprucing up its act, it has managed to outperform Disneyland and has emerged as the number one amusement park in Hong Kong .

How was Ocean Park able to turn a threat into an opportunity?

Ocean park made the decision not to compete head to head with Disneyland. Will this strategy always work when local companies face multinational giants? Explain.

How can Ocean Park further capitalize on Disneyland’s presence? (hint: check out how other parks surrounding Disney, such as Sea World and Universal Studios, survive and thrive in

Anaheim, California, and Orlando, Florida.)

How can Hong Kong Disneyland turn around its lackluster performance?

In: Operations Management

Case: Rent Relief Caravans4Hire Ltd1 provides short-term rental of caravans to tourists for camping holidays throughout...

Case:

Rent Relief Caravans4Hire Ltd1 provides short-term rental of caravans to tourists for camping holidays throughout Australia. Caravans4Hire Ltd leases several large properties in Adelaide, Perth and Sydney, which it needs to park its caravans when not in use.

Due to border restrictions, travel restrictions, localised lockdowns and Government advice to stay home, Caravans4Hire Ltd has suffered a significant loss of revenue and cash flow. On 1 May 2020 the National Hotel and Tourism Industry Association which is a non-government, not-for-profit industry association. It supports its members, who are businesses operating in the hospitality and tourism industry awarded Caravans4Hire Ltd a grant of $360 000 in total for rent relief for the three months ended 31 July 2020. The grant was received in cash on 1 May 2020. Caravans4Hire Ltd is under no obligation to repay the money received.

REQUIRED

All questions should be answered from the perspective of Caravans4Hire Ltd. The word lengths are a suggestion only, i.e., they are NOT strict word limits for each part.

a) What is the main accounting policy issue(s) that need to be resolved to account for the grant from the National Hotel and Tourism Industry Association? (20%) (part a) 15 – 50 words)

b) i) Identify one principle that is relevant to the accounting policy issue that you identified in part a) by providing a reference for that principle (e.g., AASB XXX, para. zz; or Conceptual Framework, Chapter X, para. x.xx) AND explain why you chose that principle. (20%)

ii) identify another principle that is relevant to the accounting policy issue that you identified in part a) by providing a reference for that principle.(10%) (part b) 50 – 100 words).

c) Describe an accounting policy to account for the grant from the National Hotel and Tourism Industry Association. Do not justify your policy. Just describe it. (50%) (part c) 20 - 80 words)

In: Accounting

Many people in the small town of Econville have complained that there is no park for...

  1. Many people in the small town of Econville have complained that there is no park for children to use afterschool. There are 20 households in the town, 10 who have children and 10 who do not. The households with children value the park being built at $100 each while the other households value it at $20 each. The town estimates that the cost of building a park is $600. All households earn the same income.

    1. (a) Would describe the park as a public good? Explain.

    2. (b) The first proposal is fund the park with a flat tax. What is the minimal tax per household required to build the park? Who will and who will not support such a tax and will the park be built?

    3. (c) A second proposal is a tax that only applies to the households with children. What tax per household will ensure that the park is built? Who will and who will not support such a tax? Why?

    4. (d) Athirdproposalisataxpaymentthatisproportionaltothebenefiteachhousehold receives from the park. In this proposal, how much will each household be expected to pay? Who will and who will not support such a tax? Why?

    5. (e) Evaluate the three policies listed and state which you will choose and why.

In: Economics

The Bijou Theater shows vintage movies. Customers arrive at the theater line at the rate of...

The Bijou Theater shows vintage movies. Customers arrive at the theater line at the rate of 80 per hour. The ticket seller averages 30 seconds per customer, which includes placing validation stamps on customers’ parking lot receipts and punching their frequent watcher cards. (Because of these added services, many customers don’t get in until after the feature has started.)

a. What is the average customer time in the system? (Round your answer to 2 decimal places.)

b. What would be the effect on customer time in the system of having a second ticket taker doing nothing but validations and card punching, thereby cutting the average service time to 20 seconds? (Round your answer to 3 decimal places.)

c. What would be the customer time in the system if a second window was opened with each server doing all three tasks? (Use closest λ/µ value . Do not round intermediate calculations. Round your answer to 3 decimal places.)

In: Operations Management

The Bijou Theater shows vintage movies. Customers arrive at the theater line at the rate of...

The Bijou Theater shows vintage movies. Customers arrive at the theater line at the rate of 100 per hour. The ticket seller averages 30 seconds per customer, which includes placing validation stamps on customers' parking lot receipts and punching their frequent watcher cards. (Because of these added services, many customers don't get in until after the feature has started.)

a. What is the average customer time in the system?

b. What would be the effect on customer time in the system of having a second ticket taker doing nothing but validations and card punching, thereby cutting the average service time to 20 seconds?

c. Would system waiting time be less than you found in(b) if a second window was opened with each server doing all three tasks.

Part C. is the one I need help with the most. Please explain in depth. Thank you!

In: Operations Management