There are two opposing views concerning CEO duality: the unity of demand view in favor of...

There are two opposing views concerning CEO duality: the unity of demand view in favor of effective strategic decision making vs. the agency theory view in favor of separation of power. Which view do you agree with and why?

In: Operations Management

A) What is the difference between a lytic cycle and a lysogenic cycle in bacteriophage biology...

A) What is the difference between a lytic cycle and a lysogenic cycle in bacteriophage biology (2pt)?

B) Can the same phage undergo both types of cycle and, if so, under what circumstances (2 pt)? Explain (with example).

In: Biology

What are the major challenges that face expatriates while living abroad? Please use your own words

What are the major challenges that face expatriates while living abroad?

Please use your own words

In: Economics

I'm working on a python programming problem where I have to write a program that plays...

I'm working on a python programming problem where I have to write a program that plays rock paper scissors.

our program will allow a human user to play Rock, Paper, Scissors with the computer. Each round of the game will have the following structure:

  • The program will choose a weapon (Rock, Paper, Scissors), but its choice will not be displayed until later so the user doesn’t see it.
  • The program will announce the beginning of the round and ask the user for his/her weapon choice
  • The two weapons will be compared to determine the winner (or a tie) and the results will be displayed by the program
  • The next round will begin, and the game will continue until the user chooses to quit
  • The computer will keep score and print the score when the game ends

The computer should select the weapon most likely to beat the user, based on the user’s previous choice of weapons. For instance, if the user has selected Paper 3 times but Rock and Scissors only 1 time each, the computer should choose Scissors as the weapon most likely to beat Paper, which is the user’s most frequent choice so far. To accomplish this, your program must keep track of how often the user chooses each weapon. Note that you do not need to remember the order in which the weapons were used. Instead, you simply need to keep a count of how many times the user has selected each weapon (Rock, Paper or Scissors). Your program should then use this playing history (the count of how often each weapon has been selected by the user) to determine if the user currently has a preferred weapon; if so, the computer should select the weapon most likely to beat the user’s preferred weapon. During rounds when the user does not have a single preferred weapon, the computer may select any weapon. For instance, if the user has selected Rock and Paper 3 times each and Scissors only 1 time, or if the user has selected each of the weapons an equal number of times, then there is no single weapon that has been used most frequently by the user; in this case the computer may select any of the weapons.

At the beginning of the game, the user should be prompted for his/her input. The valid choices for input are:

  • R or r (Rock)
  • P or p (Paper)
  • S or s (Scissors)
  • Q or q (Quit)

At the beginning of each round your program should ask the user for an input. If the user inputs something other than r, R, p, P, s, S, q or Q, the program should detect the invalid entry and ask the user to make another choice.

Your program should remember the game history (whether the user wins, the computer wins, or the round is tied).

At the end of the game (when the user chooses ‘q’ or ‘Q’), your program should display the following:

  • The number of rounds the computer has won
  • The number of rounds the user has won
  • The number of rounds that ended in a tie
  • The number of times the user selected each weapon (Rock, Paper, Scissors)

In: Computer Science

In cylindrical coordinates, vector A is given as; A = Aρρ + Aφφ + Azz ....

In cylindrical coordinates, vector A is given as;

A = Aρρ + Aφφ + Azz .

Vector A is a time-dependent function.

Find the components of d2A / dt2 .

In: Physics

A wave in string of linear density 0.13 g/m is given by the equation y(x,t)=0.018 sin...

A wave in string of linear density 0.13 g/m is given by the equation y(x,t)=0.018 sin (5.64x-6.03 t) in SI units. Calculate the tension in the string.

In: Physics

When would you use FPC? Please list an example. Remember, if we have a large, but...

When would you use FPC? Please list an example.

Remember, if we have a large, but finite population and we are taking a small sample of it, we need to use the FPC.

For example: let's say 1,000 students took this class in the last 3 years in all ways, i.e. on-line, in a traditional classroom during a normal semester, and during the summer terms. Let's say that since Finance majors have a lot more math in many of their courses, I would expect them to have higher grades. Let's say that there were 100 Finance majors that took the course. Should I use the FPC? Yes. The sample is small relative to the population.

Can you think of an example?

In: Math

There are relatively few neurons in the brain. How would you describe the other cells in...

There are relatively few neurons in the brain. How would you describe the other cells in the brain? Thinking back to the days you studied tissues, if you had to classify glia or neuroglia cells as tissue other than nerve tissue, how would you classify them? Justify your answer.

In: Anatomy and Physiology

List several social statuses you occupy. Which ones are ascribed, and which are achieved? What roles...

List several social statuses you occupy. Which ones are ascribed, and which are achieved? What roles are you expected to play as a consequence of the positions you occupy? Minimum length is 200 words.

In: Psychology

in general how do we construct our perception?

in general how do we construct our perception?

In: Psychology

50mL of solution in which the analytical concentration of benzoic acid is 0.124 M is titrated...

50mL of solution in which the analytical concentration of benzoic acid is 0.124 M is titrated with 0.261 M NaOH; if Ve is the volume needed to reach the endpoint, what is the pH at 0 Ve, 1/4 Ve, 1/2 Ve, Ve, and 1.212 Ve?

In: Chemistry

Hey guys, I have my assignment due for Coding on next Friday. There were 2 parts...

Hey guys,

I have my assignment due for Coding on next Friday. There were 2 parts of assignment, part 1 was about User Interface (CUI), File I/O, Software Functionality and others without GUI. This includes OOP. Anyways 2nd part of our assignment includes GUI And other advanced features that we have to implement on our previous program. I'm happy to send you the exact details of whats required for assignment 2. Anyways, I've done the first part, and All I'm asking is that would you still take $7.90 NZD because all that's need to be added is GUI. I have about 5 classes I think. So what do you think? My topic is Who Wants To Be A Millionaire! Basic millionaire code!


In: Computer Science

The Walton Toy Company manufactures a line of dolls and a sewing kit. Demand for the...

The Walton Toy Company manufactures a line of dolls and a sewing kit. Demand for the company’s products is increasing, and management requests assistance from you in determining an economical sales and production mix for the coming year. The company has provided the following data: Product Demand Next year (units) Selling Price per Unit Direct Materials Direct Labor Debbie 72,000 $ 18.00 $ 4.90 $ 4.05 Trish 64,000 $ 6.50 $ 1.80 $ 1.89 Sarah 57,000 $ 30.00 $ 9.74 $ 6.75 Mike 40,000 $ 15.00 $ 4.20 $ 4.95 Sewing kit 347,000 $ 10.20 $ 5.40 $ 1.44 The following additional information is available: The company’s plant has a capacity of 155,110 direct labor-hours per year on a single-shift basis. The company’s present employees and equipment can produce all five products. The direct labor rate of $9 per hour is expected to remain unchanged during the coming year. Fixed manufacturing costs total $605,000 per year. Variable overhead costs are $5 per direct labor-hour. All of the company’s nonmanufacturing costs are fixed. The company’s finished goods inventory is negligible and can be ignored. Required: 1. How many direct labor hours are used to manufacture one unit of each of the company’s five products? 2. How much variable overhead cost is incurred to manufacture one unit of each of the company’s five products? 3. What is the contribution margin per direct labor-hour for each of the company’s five products? 4. Assuming that direct labor-hours is the company’s constraining resource, what is the highest total contribution margin that the company can earn if it makes optimal use of its constrained resource? 5. Assuming that the company has made optimal use of its 155,110 direct labor-hours, what is the highest direct labor rate per hour that Walton Toy Company would be willing to pay for additional capacity (that is, for added direct labor time)?

In: Accounting

What is the projected spending of health care as a percentage of GDP by 2040? How...

What is the projected spending of health care as a percentage of GDP by 2040? How would this impact our economy?

In: Economics

What are the two elements of market failure most important and applicable to the study of...

What are the two elements of market failure most important and applicable to the study of cultural economics and especially to how access to some sites are priced and monitored?

In: Economics