Questions
Language is C# (i've got some code but it seems to not run correctly, would love...

Language is C# (i've got some code but it seems to not run correctly, would love a new take)

Create an Employee class with five fields: first name, last name, workID, yearStartedWked, and initSalary. It includes constructor(s) and properties to initialize values for all fields. Create an interface, SalaryCalculate, class that includes two functions: first,CalcYearWorked() function, it takes one parameter (currentyear) and calculates the number of year the worker has been working. The second function, CalcCurSalary() function that calculates the current year salary. Create a Worker classes that is derived from Employee and SalaryCalculate class. In Worker class, it includes two field, nYearWked and curSalary, and constructor(s). It defines the CalcYearWorked() function using (current year – yearStartedWked) and save it in the nYearWked variable. It also defines the CalcCurSalary() function that calculates the current year salary by using initial salary with 3% yearly increment. Create a Manager class that is derived from Worker class. In Manager class, it includes one field: yearPromo and constructor(s). Itincludes a CalcCurSalary function that calculate the current year salary by overriding the base class function using initial salary with 5% yearly increment plus 10% bonus. The manager’s salary calculates in two parts. It calculates as a worker before the year promoted and as a manager after the promotion. Write an application that reads the workers and managers information from files (“worker.txt” and “manager.txt”) and then creates the dynamic arrays of objects. Prompt the user for current year and display the workers’ and managers’ current information in separate groups: first and last name, ID, the year he/she has been working, and current salary.

Worker.txt

5
Hector
Alcoser
A001231
1999
24000
Anna
Alaniz
A001232
2001
34000
Lydia
Bean
A001233
2002
30000
Jorge
Botello
A001234
2005
40000
Pablo
Gonzalez
A001235
2007
35000

Manager.txt

3
Sam
Reza
M000411
1995
51000
2005
Jose
Perez
M000412
1998
55000
2002
Rachel
Pena
M000413
2000
48000
2010

In: Computer Science

If the Federal Reserve Bank monetary policy committee members implies  that in 2020 there may be less...

If the Federal Reserve Bank monetary policy committee members implies  that in 2020 there may be less interest rate hikes than expected. How does that affect the currencies of the developing countries? How does that affect the Euro/Dollar parity for 2020?.

In: Economics

CASE STUDY On your way for lectures one day, you came across an accident scene where...

CASE STUDY

On your way for lectures one day, you came across an accident scene where the victim was bleeding profusely. You happened to be the first person at the scene so you assisted the victim to a nearby health centre. When you entered a yard of the health facility you noticed that the compound was very neat with beautiful flowers and modern structures. At the emergency ward was a nurse who was busily having a phone conversation with a supposed friend. It took her about five minute on your arrival before attending to the accident victim in a pool of blood. After the first aid received from the nurse which could not stop the bleeding entirely, it took you between eighteen to twenty minutes before a medical officer attended to you at the emergency unit. The story was not different at the pharmacy unit where you had to go for the prescribed drugs. It you a considerable length of time before you were finally served although there was a queue.

Using the parasuramans dimensions of quality, discuss the quality of the health centre.

In: Operations Management

1) While standing on a stationary skateboard, Sunita catches a heavy ball thrown to her by...

1) While standing on a stationary skateboard, Sunita catches a heavy ball thrown to her by a friend in the direction that the skateboard is pointing. What is the result of her catching the ball?

A. She begins rolling at the same speed the ball had before she caught it.

B. She begins rolling at a greater speed than the ball had before she caught it.

C. She begins rolling at a lower speed than the ball had before she caught it.

D. She remains stationary after catching the ball.

2)A figure skater performing a spin starts with his arms spread wide and then brings them in close to his body. What is the result?

A. His angular velocity increases, since his moment of inertia decreased.

B. His angular velocity increases, since his moment of inertia increased.

C. His angular velocity decreases, since his moment of inertia decreased.

D. His angular velocity decreases, since his moment of inertia increased.

In: Physics

Kirksville Enterprises needs someone to supply it with 200,000 cartons of machine screws per year to...

  1. Kirksville Enterprises needs someone to supply it with 200,000 cartons of machine screws per year to support its manufacturing needs over the next 5 years, and you've decided to bid on the contract. It will cost you $1,200,000 after-tax to install the equipment necessary to start production; you'll depreciate this cost straight-line to zero over the project's life. You estimate that in 5 years, this equipment can be salvaged for $75,000 before-tax. Your fixed production costs will be $350,000 before-tax per year, and your variable production costs should be $12.00 before-tax per carton. You also need an initial increase in account receivables of $100,000 and a decrease in account payables of $150,000, all of which will be recovered when the project ends. Your tax rate is 20 percent and you require a 10 percent return on your investment. What bid price per carton should you submit?

Provide detailed steps to reach the answer including the OCF making NPV=0.

In: Finance

Tania Washington is responsible for opening Pearson Physicians Group on Tuesday and Thursday mornings. She arrives...

Tania Washington is responsible for opening Pearson Physicians Group on Tuesday and Thursday mornings. She arrives early and is the first employee at the office. There is a patient waiting at the front door to be let inside for his appointment that is scheduled for 45 minutes later, which is when the office is scheduled to open.

When Tania opens the door to the office, she sees that the reception room has magazines strewn about, the children’s books are not neatly piled, and the trash can was not emptied.

1.How should Tania handle the patient who is early for his appointment?

2.Tania checks the prior day’s schedule and sees that Meghan closed the office on Monday night. How should Tania handle the disheveled reception room?

3.After other staff members have arrived for the day, Tania unlocks the office door. She sees the man from earlier in the morning exit his car and makes his way to the door. When he arrives in the office, Tania notices that he has a bloody nose. What should she do with this patient?

In: Nursing

"Aggregate Demand and Aggregate Supply" is about the model that shows us how to distinguish between...

"Aggregate Demand and Aggregate Supply" is about the model that shows us how to distinguish between demand shocks and supply shocks, creating differences between what the economy could produce at full employment, or "potential output," and what is currently being produced, know as an output "gap."

Is there currently a negative output gap, has the output cap closed finally, or is there now a positive output gap? After doing some research online, and reviewing the key terms of this chapter discuss the following:

1. Is the economy in a recessionary gap? an inflationary gap? (Note "inflation" of prices is not the same as an "inflationary gap" between potential output & actual output) Or is the U. S. Economy cruising steadily along at full employment? What evidence is there in the labor force (bea.gov), in the capital utilization rate published by (www.federalreserve.gov)?

2. Use your new economic vocabulary to discuss what economic indicators support your view. (Use current economic data from the Bureau of Labor Statistics, the Census Bureau, the Federal Reserve, etc., and cite your sources).

In: Economics

Consider a closed market with the following domestic demand and supply functions: P=540- (3/4)Q P=120+3Q (a)...

Consider a closed market with the following domestic demand and supply functions:

P=540- (3/4)Q

P=120+3Q

(a) (4 points) What is the domestic equilibrium price and quantity?

(b) (4 points) Calculate the consumer surplus and the producer surplus.

(c) (6 points) Suppose that the domestic market opens up and it joins the world market. If the world price is $126 less than the old domestic equilibrium price, how much quantity is produced domestically? How much quantity is imported?

(d) (6 points) What is the change in consumer surplus and producer surplus due to trade?

(e) (3 points) By how much did the total domestic economy gain/lose (Hint: change in total surplus) due to trade?

(f) (5 points) Suppose that a few years after the markets opened, leaders of the domestic country decide to impose a tariff of $50 on the imported goods. How much is produced by the domestic producers now? How much is still imported?

(g) (2 points) How much revenue does the government receive due to the tariff?

In: Economics

A rod of mass 0.72 kg and radius 0.06 m rests on two parallel rails that...

  1. A rod of mass 0.72 kg and radius 0.06 m rests on two parallel rails that are d = 0.12 m apart and L = 0.45 m long. The rod carries a current of I = 48 A. If it starts from rest, what is the speed of the rod as it leaves the rails if there is a uniform magnetic field of magnitude 0.24 T directed perpendicular to the rod and rails? Answer in units of m/s.

                        a) 23.1 m/s

                        b) 13.1 m/s

c) 15.7 m/s

d) 1.31 m/s

  1. Consider a series RC circuit for which R = 0.9 MΩ, C = 4.5 μF, and V = 28 V. Find the charge on the capacitor 8 s after the switch is closed. Answer in units of μC.

           

A) 118 μC

                 B) 108 μC

                C) 358 μC

                D) 10.8 μC

  1. Two equal charges of magnitude +1 C are separated by a distance of 1 km. What is the force acting between these two charges?

  1. 0.9 N
  2. 9 N
  3. 90 N
  4. 9000 N

In: Physics

Solve the following and show steps please: On February 1st, 2016 Heinz Baking Company (HNZ) announced...

Solve the following and show steps please:

On February 1st, 2016 Heinz Baking Company (HNZ) announced that they were going to be acquired by Best Foods, Inc. (BFI) in a stock swap transaction. Specifically, each share of Heinz Baking Company would be exchanged for 1.62 shares in Best Foods. At the close of trading on the announcement date, HNZ was trading at $37.62 per share, and BFI was priced at $24.48 per share. Best Foods stock does not currently pay a dividend.

a- At announcement, what was the arbitrage spread? (5.42%)

b- If you want to undertake the typical M&A arbitrage strategy and buy a parcel of 3 million shares in HNZ, what trade would you make in the stock of BFI? (Short sell 4.86 million shares in BFI)

c- What would your dollar profit on the announcement date be from the trade described in b. above? ($6,112,800)

d- Sixty days after announcement, the stock price of BFI has risen 4%, but the price of stock in HNZ is unchanged from where it closed at announcement. What is the arbitrage spread at this time? (9.64%)

In: Finance