Questions
use the nadler tushman congruence model to evaluate the situation at Scarborough YMCA

use the nadler tushman congruence model to evaluate the situation at Scarborough YMCA

In: Operations Management

Mr. Kent doesn't care about almost anything ... but himself and his money. So, when his...

Mr. Kent doesn't care about almost anything ... but himself and his money. So, when his power plant leaked radioactive goo that caused several species of wildlife to go extinct, he was only concerned with the public perception as it might affect his income and possible jail time.

Many rumors surfaced around the Springfield Nuclear Power Plant. One of them is high concern over the mutation rate of the rare Springfield molted platypus. With barely more than 500 left in the wild, the word "extinction" has been tossed around. So, to quell the media, Mr. Kent had 30 of them captured, dissected, and analyzed to check for signs of mutation. He found that the mutation rate is 2% each month, but when they do mutate, they become sterile and cannot reproduce. With this information, he wants to create one of those newfangled computer simulations that the press loves so much. That's where you come in!

Specifications:

In this assignment, you will create a class called Animal_Category.

Your Animal_Category class is to contain the following data members:

  • A string for appearance ( hair/fur/scale/feathers)
  • a bool for nurse (true/false)
  • a bool for cold_blooded (true/false)
  • a bool for live_on_land (true/false)
  • a bool for live_in_water (true/false)

Your Animal_Category class is to contain the following member functions:

  • a constructor with arguments
  • a print function

You will also create a class called Platypus. Below, we will describe what will define a platypus. You will also create a main function in which you will create objects of type platypus to test the functionality of your new user-defined type.

Your Platypus class is to contain the following data members:

  • a static int for platypus_count (to increment upon creation of a new platypus and decrement upon destruction of a platypus)
  • a float for weight
  • an int for age (months)
  • a string for name
  • a char for gender
  • a bool to indicate whether alive (or not)
  • a bool to indicate whether mutant (or not)
  • an Animal_Category for animal_type
  • a constant mutation rate that is 2%

Member functions:

  • a constructor with no arguments that creates a dead platypus
  • a constructor that you can pass values to so as to establish its gender, weight, age, and name; it will default to alive and not mutant.
  • a constant print function that will output to the screen the attributes of that platypus in a nice, easy to read format.
  • an age_me function that returns nothing but increments the object's age. It will also calculate the chance that the object will become a mutant and when needed changes the value of the corresponding data member (remember that the mutation rate is 2% each month and it should become 100% for the platypus to become mutant).

Further, the platypus has a chance of becoming dead each time it ages. This chance is ten times the platypus' weight. A 5 pound platypus has a 50% chance of death. A 10 pound platypus (or heavier) has a 100% chance of death. Again here update the value of the corresponding data member when needed.

  • a fight function that accepts another platypus object as a parameter. It will have the calling platypus attack the other (passed in) platypus. The survivor is based on a "fight ratio": it is calculated as (calling_platypus_weight/other_platypus_weight) * 50. A random value from 1 to 100 is generated. If it is less than the fight ratio, the calling platypus survives; otherwise the other platypus survives. You must to be able to have a statement like p1.fight(p2).print() (where p1 and p2 are objects of this class)
  • an eat function that increases the weight of the platypus by a random amount from 0.1% to 5.0% of the platypus' current weight.
  • A friend hatch function that will randomly set up a newborn platypus with alive=true, mutant=false, and age=0. Gender will randomly be 'm' or 'f' with equal probability. Weight will randomly be between 0.1 and 1.0 pounds. Name will default to “plipo”.

Think very carefully about writing the above functions and how they should be used. There are indeed circumstances when some functions should not execute. For example, a dead platypus shouldn't eat anything.

Your program should fully test your platypus class. It must call every member function in the platypus class. It must print to the screen what it is doing and show the changes that appear when the member functions are called. The fight function will require two platypuses: one to call the fight function and one to be a parameter in the fight function.

c++ language

In: Computer Science

You plan to purchase a $180,000 house using a 15-year mortgage obtained from your local credit...

You plan to purchase a $180,000 house using a 15-year mortgage obtained from your local credit union. The mortgage rate offered to you is 5.5 percent. You will make a down payment of 10 percent of the purchase price.

a. Calculate your monthly payments on this mortgage.
b. Calculate the amount of interest and, separately, principal paid in the 20th payment.
c. Calculate the amount of interest and, separately, principal paid in the 110th payment.
d. Calculate the amount of interest paid over the life of this mortgage.

(For all requirements, do not round intermediate calculations. Round your answers to 2 decimal places. (e.g., 32.16))

In: Finance

Please Go to Khan Academy and read the 3-part Growth Mindset Content. Think about your experience...

Please Go to Khan Academy and read the 3-part Growth Mindset Content.

Think about your experience in the earlier programming modules.

Submit your own answers to the following questions:

Part 1:

Who do you think passed the retake the next day?

What do you think could have happened differently if Sam changed the way he thought about equations and himself?

If someone you knew said, “I am just not a good writer and never will be”, what would you tell them?

Part 2:

How did Sam’s fixed mindset prevent him from succeeding when the material got harder?

What was John Legend’s response to struggling to get a record deal?

What is something you have struggled with recently? What do you tell yourself when you feel like giving up? What keeps you going?

Part 3:

What can you do when fixed mindset thoughts come into your mind?

Some common fixed mindset triggers are life transitions, failure, or discouraging things said to you by your peers. What are your fixed mindset triggers?

What is a transition or an event that you anticipate being hard in the future?

What can you do when your fixed mindset thoughts creep in during the transition or event you identified?

PreviousNext

In: Psychology

Write Business Case for the car showroom project.

Write Business Case for the car showroom project.

In: Operations Management

What is the maximum value of the electric field in an electromagnetic wave whose average intensity...

What is the maximum value of the electric field in an electromagnetic wave whose average intensity is 7.45 W/m2 ?

In: Physics

Create a PESTEL Analysis for Samsung and identify the most important in the smartphone market

Create a PESTEL Analysis for Samsung and identify the most important in the smartphone market

In: Operations Management

How to use TI-84 to solve, Consider the probability distribution of a random variable X shown...

How to use TI-84 to solve, Consider the probability distribution of a random variable X shown below:
f(x) = \binom13x 0.25x 0.7513−x,   x = 0,1,2,…13.

What are the mean (μ) and variance (σ2) of the random variable X?
μ = 2.9, and σ2 = 2.4375.
μ = 3.25, and σ2 = 2.4375.
μ = 2.9, and σ2 = 2.9.
μ = 3.25, and σ2 = 2.9.

Find the probability:   P(X < 7)?
.

In: Math

The Baldwin Company is considering investing in a machine that produces bowling balls. The cost of...

The Baldwin Company is considering investing in a machine that produces bowling balls. The cost of the machine is $100,000 and production is expected to be 8,000 units per year during the five-year life of the machine. The expected resale value is $5,000 (in real terms).
Since the interest in bowling is declining, the management believes that the nominal price of bowling balls will increase at only 2% per year. The nominal price of bowling balls in the first year will be $20. On the other hand, plastic used to produce bowling balls is rapidly becoming more expensive. Because of this, production costs are expected to grow at 10% (nominally) per year. First-year nominal production costs will be $10 per unit.
The company's nominal cost of capital is 15%. The rate of inflation is 5%. Ignore taxes. Should the project be undertaken?

Please give me a answer with equations and step by step solutions so that I can understand.

In: Finance

Job based structure and person focused structure compare and contrast by SWOT.

Job based structure and person focused structure compare and contrast by SWOT.

In: Operations Management

One important point for an automobile radiator design is to cool the engine while moving at...

  1. One important point for an automobile radiator design is to cool the engine while moving at 50 km/h on a 7% grade road in a desert summer condition. Your responsibility as a design engineer is to make sure that the coolant (water in this case, since it is the hot summer time, no antifreeze is needed) temperature at the radiator inlet does not exceed the saturation temperature of water at this point. Consider a radiator that can be approached as a cross – flow heat exchanger with both fluids unmixed and working under the following conditions:

The manometer reading at the radiator water inlet is 100 kPa (the gage pressure!) where the local atmospheric pressure is also 100 kPa.

The engine heat rejection rate: q = 40 kW.

For air; flow rate 2700 kg/h, inlet temperature 52 , specific heat 1008 J/kg.K.

For water; flow rate 5130 kg/h, specific heat 4244 J/kg.K.

For the radiator UA = 1134 W/K.

  1. Determine the water inlet and outlet temperatures and air outlet temperature from the radiator. (15 P)
  2. Determine the logarithmic mean temperature difference correction factor F and estimate the value of corrected logarithmic mean temperature difference for the radiator. (10 P)
  3. Neglecting the pressure losses within the radiator, determine whether the design is safe or not against overheating (against boiling within the radiator). (15 P)
  4. One effective way of obtaining safe operating conditions against radiator overheating may be increasing fan power to obtain higher air flow rates. If your findings for Part c) indicate unsafe operating conditions, determine the minimum air flow rate that ensures safe operation against the radiator overheating. To do this, increase the air flow rate with 90 kg/h intervals, until yuo reach safe operating conditions, while keeping the other parameters fixed at the above given values. (15 P)
  1. A low quality coal known as Saray lignite has the components of C = 45%, H = 4%, O = 17%, S = 4%, N = 2%, A = 13% and W = 15%. Carry out the following analyses for this lignite:
  1. Using the exact formula determine the heating value. (5 P)
  2. Draw the Ostwald dagram in a scaled manner. (10 P)
  3. After the combustion, 6% CO2 and 10% CO contents are measured in the stack gases. Obtain the excess air coefficient and the ratio of O2 within the stack gases, utilizing the Ostwald diagram you drew in Part b). (10 P)
  4. Determine the excess air coefficient and the ratio of O2 within the stack gases, using the analytical relations and compare the results with the ones you obtained in Part c). (10 P)
  5. In what type of boiler and under which conditions do you think this lignite should be used in the lights of above estimated values of fuel components, the excess air coefficient, and the heating value. (10 P)

In: Mechanical Engineering

Four moles of a monatomic ideal gas are taken through a three-process thermodynamic cycle. The gas...

Four moles of a monatomic ideal gas are taken through a three-process thermodynamic cycle. The gas initially has a pressure of 8.00 atm with a temperature of 600 K (point A). The gas it then expanded isothermally to point B where the volume is 48.0 L. The gas is compressed via an isobarically process (point C). The gas is then expanded adiabatically back to its initial state. For all calculations using the ideal gas law assume that R = 0.08 (L atm) / (mol K). For any calculations of work, heat, internal energy, or entropy use R = 8.0 J / (mol K).

a. Compute all unknown pressures, temperatures, and volumes and organize them into a table.

b. Find the work done going from point C to point A?

c. What is the heat added to the system going from A to B?

d. What is the change in internal energy going from B to C?

e. What is the change in entropy going from A to B?

In: Physics

What will the value of A represent at the end of execution of the given procedure...

What will the value of A represent at the end of execution of the given procedure on the “Paragraph Words” dataset?

Step 1. Arrange all cards in a single pile called Pile 1

Step 2. Maintain two variables A, B and initialize them to 0
Step 3. If Pile 1 is empty then stop the iteration

Step 4. Read the top card in Pile 1

Step 5. Add Letter count to variable B

Step 6. If the word does not end with a full stop then execute step 9

Step 7. If the word ends with a full stop and B > A then store B in A

Step 8. Reset the variable B to 0

Step 9. Move the current card to another pile called Pile 2 and repeat from step 3

Select answer from the following options:

1. Length of the shortest sentence based on the number of words

2. Length of the longest sentence based on the number of words

3. Length of the longest sentence based on the number of characters

4. Length of the shortest sentence based on the number of characters

5. None of the above

In: Computer Science

locate an article or video that discusses how children adjust to divorce. Briefly summarize the key...

locate an article or video that discusses how children adjust to divorce. Briefly summarize the key findings.

In: Psychology

Describe the ramifications of the virtualization of storage.

Describe the ramifications of the virtualization of storage.

In: Computer Science