C++ How can I insert normal array as degenerate tree. Plz use sequential implementation. Thanks.

C++

How can I insert normal array as degenerate tree. Plz use sequential implementation. Thanks.

In: Computer Science

List 3 potential metabolic "fates" of pyruvate OR glucose-6-phosphate. Indicate the metabolic environment associated with each...

List 3 potential metabolic "fates" of pyruvate OR glucose-6-phosphate. Indicate the metabolic environment associated with each fate (i.e. catabolic/ATP producing/anabolic/etc)

In: Biology

8. A man has blood type A and his wife has type B. A physician types...

8. A man has blood type A and his wife has type B. A physician types the blood of their four children and is amazed to find one of each of the four blood types among them. He is not familiar with genetics and calls upon you for an explanation. Provide one.

In: Biology

1) True or False a. The sum of the dimensions of the eigenspaces of the distinct...

1) True or False

a. The sum of the dimensions of the eigenspaces of the distinct egenvalues of a matrix of order n can sometimes be bigger than n.

b. A square matrix A is singular if and only if 0 is an eigenvalue of A.

c. If two eigenvectors of a matrix are linearly independent, then they correspond to distinct eigenvalues.

d. Two square matrices are similar if and only if they have the same eigenvalues and the same rank.

e. A square matrix A is diagonalizable if and only if for each eigenvalue c of A, the algebraic multiplicity of c is equal to the dimension of the eigenspace of A corresponding to c.

In: Computer Science

Describe and explain the possible effects on your results of the following experimental errors. a. You...

Describe and explain the possible effects on your results of the following experimental errors.

a. You allowed your chromatogram to develop too long and you couldn’t find the solvent front.

b.The lab assistant who prepared the developing solvent mistakenly used aqueous ammonia in place of acetic acid.

c.You used an opened melting-point capillary rather than a Drummond Microcap to apply the spots

What would be the effect on the reaction rate if 10 mL of DMF were used for the reaction instead of 5 mL? Why?

In: Chemistry

Assignment 3 Procedural Text: Database Search TOPIC- WATER POLLUTION Due Date: Thursday February 27th, 2020 Submission...

Assignment 3

Procedural Text: Database Search

TOPIC- WATER POLLUTION

Due Date: Thursday February 27th, 2020

Submission Details: Online submission via drop box

For this assignment, you will write a procedural text on how to carryout a database search pertaining to a relevant global issue.

GLOBAL ISSUE- WATER POLLUTION

What is a procedural text?

A procedural text informs your audience how to do something using simple, step-by-step instructions

Your procedural text must include the following:

1) Title [1 mark]

  • What is the expected outcome of this procedural piece? (ie. How to Carryout a Database Search on…..)

2) Goal [1 mark]

  • State what will happen at the end

3) Series of Steps [8 marks]

  • List what needs to be done to attain your goal in logical order.
  • Be sure to keep instructions specific, short, simple and to the point.
  • Use formal language
  • Use present tense

4) Locate/identify 3 different resources [6 marks]

  • (Example) a newspaper article, journal article and a documentary.
  • Be sure that all sources are references in adherence to APA formatting
  • Be sure that the sources you identify actually relate to your topic!

5) Strategically placed images [3 marks]

  • If you find that something needs further elaboration, a good idea is to insert a screenshot of what you are referring to!

6) Conclusion [3 marks]

  • Your conclusion should be a short paragraph that includes the following key points:
    • Reflection on any challenges you encountered
    • Any tips or advice you can offer to make the database search easier and more effective for your audience

In: Other

Two women appear before King Solomon at his palace, along with an infant. Each woman claims...

Two women appear before King Solomon at his palace,

along with an infant. Each woman claims that the infant is her child.

The child is "worth" 100 dinars to his true mother, but he is only

"worth" 50 dinars to the impostor. The king knows that one of the

two women is the true mother of the child, and he knows the "values"

that the true mother and the impostor ascribe to the child, but he does

not know which woman is the true mother, and which the impostor.

To determine which of the two women is the true mother, the king

explains to both women that he will implement the following steps:

(a) He will ask the first woman whether the child is hers. If she

answers negatively, the child will be given to the second woman.

If she answers affirmatively, the king will continue to the next

step.

(b) He will ask the second woman if the child is hers. If she answers

negatively, the child will be given to the first woman. If she

answers affirmatively, the second woman will pay the king 75

dinars, and receive the child, and first woman will pay the king

10 dinars.

i. Assume that each woman has a payoff of 0 dinar if she does not

receive the child. Draw the game tree when (a) The first woman

is the true mother and when (b) The second woman is the true

mother.

ii. Find and report the subgame perfect equilibrium under (a) and

(b), and describe what happens (who gets the child and how

much is paid by each woman) in each equilibrium.

In: Economics

how do we value a stock and decide if it is reflective of the actual price...

how do we value a stock and decide if it is reflective of the actual price we are going to pay for the stock? is there any benchmarks that help measure the risk and associate a return?

answer please

In: Finance

After the birth of Martha’s second child, she was informed that her newborn had jaundice. The...

After the birth of Martha’s second child, she was informed that her newborn had jaundice. The doctor suspects Hemolytic Disease of the Newborn (HDN). What is jaundice and how could the baby have developed it? Describe both HDN and ABO hemolytic disease of the newborn i.e. what causes them to occur and how do they present? Explain TWO differences and TWO similarities between the two diseases and then, discuss prevention and treatments available for the two diseases.

Reminder: Show critical thinking. Support your opinions with scientific evidence (in initial response and response to your classmates). Provide citations for the information you discuss.

In: Nursing

1. Tracking Sales File Sales.java contains a Java program that prompts for and reads in the...

1. Tracking Sales
File Sales.java contains a Java program that prompts for and reads in the sales for each of 5 salespeople in acompany. It then prints out the id and amount of sales for each salesperson and the total sales. Study the code, thencompile and run the program to see how it works. Now modify the program as follows:

1. Compute and print the average sale. (You can compute this directly from the total; no loop is necessary.)

2. Find and print the maximum sale. Print both the id of the salesperson with the max sale and the amount of thesale, e.g., “Salesperson 3 had the highest sale with $4500.” Note that you don’t need another loop for this; you can do it in the same loop where the values are read and the sum is computed.

3. Do the same for the minimum sale.

4. After the list, sum, average, max and min have been printed, ask the user to enter a value. Then print the id ofeach salesperson who exceeded that amount, and the amount of their sales. Also print the total number ofsalespeople whose sales exceeded the value entered.

5. The salespeople are objecting to having an id of 0—no one wants that designation. Modify your program so thatthe ids run from 1-5 instead of 0-4. Do not modify the array—just make the information for salesperson 1 reside inarray location 0, and so on.6. Instead of always reading in 5 sales amounts, at the beginning ask the user for the number of sales people andthen create an array that is just the right size. The program can then proceed as before.Example of fixed sale person number.

// ***************************************************************// Sales.java//// Reads in and stores sales for each of 5 salespeople. Displays// sales entered by salesperson id and total sales for all salespeople.//// ***************************************************************

import java.util.Scanner;

public class Sales
{
    public static void main(String[] args)
    {

   int numSalesPeople;

   Scanner scan = new Scanner (System.in);

   System.out.print ("How many Sales people are there: ");
   numSalesPeople = scan.nextInt();

   
   int[] sales = new int[numSalesPeople];
   int sum;
   int maxSales, minSales;
   int maxSalesPerson, minSalesPerson;
   int amount;
   int numOver;

        sum = 0;
        for (int i=0; i<sales.length; i++)


   for (int i=0; i<sales.length; i++)
   {
      System.out.print("Enter the sales amount for the salesperson " + (i+1) + ": ");
      sales[i] = scan.nextInt();
    }

   System.out.println("\nSalesperson   Sales");
   System.out.println("--------------------");
   // Add your code initialize the values of some variables you declared before //
   
   sum=0;
   int max=0;
   int min=0;



   for (int i=0; i<sales.length; i++)
   {
      System.out.println("     " + (i+1) + "\t\t" + sales[i]);
      sum += sales[i];

      
    }
   
   // Add your code. Please print out Sum, Average Sale, MaxSale by Whom, MinSlae by Whom... 


   // Get a value from the user and search for sale person whose sale exceed this value
   System.out.println();
   System.out.print("Enter a sales amount: ");
   amount = scan.nextInt();

   // Add your code here. Search for sales whose value exceed the above value. Print sale person index and amount
   // print the total number of sales person whose sales exceed the above value. 
   
   
   
    }

In: Computer Science

33. True or False. The hormones involved in the hypothalamic are non-tropic in nature answer quickly...

33. True or False. The hormones involved in the hypothalamic are non-tropic in nature

answer quickly please

In: Biology

For a company of your choice, describe the three most important application software packages you would...

For a company of your choice, describe the three most important application software packages you would recommend for the company’s profit-ability and success.?

note:
report must include three paragrphs as follows :

1- introduction
2-solution to the given question ( breif explanation )
3-conclusion

In: Computer Science

STEP 1: In the discussion, write a post responding to both of the following prompts: Think...

STEP 1: In the discussion, write a post responding to both of the following prompts:

Think of something you’ve learned so far in this course. Use one of the mnemonics or memory tricks you learned about in this module to help you remember a psychological concept. Explain your memory aid in a sentence or two.

In at least 100 words, describe one of your earliest childhood memories and explain it in the context of what you learned in this module. How was it encoded, stored, and retrieved, and has it fallen prey to any memory failure?

In: Psychology

The Startracks corporation is considering the purchase of new equipment to replace some old, existing equipment....

The Startracks corporation is considering the purchase of new equipment to replace some old, existing equipment. The old equipment is fully depreciated and has a current market value of $1.2M. The new equipment costs $10.4M and will be depreciated using the 5 year MACRS class. The equipment is used to produce items with constant annual revenues of $18M. Current costs (using the old equipment) are $3M per year. The new equipment will not change the expected revenues (they will remain at $18M per year), but will allow the company to cut costs by $1M per year. The project is expected to last for 4 years, at which time the new equipment would be worth $6.0M. If the old equipment is kept, it will be worthless in 4 years. The company's marginal tax rate is 35%. The company is financed with $50M of preferred stock and $150M of common stock. The preferred stock has a current value of $20 and pays constant dividends of $2 annually. The expected return on the common stock is 14.4%. Should the project be accepted?

In: Finance

Gildan Limited is a clothing manufacturer specializing in sustainable lady’s fashion. The company has been in...

Gildan Limited is a clothing manufacturer specializing in sustainable lady’s fashion. The company has been in operation for ten years and during that time has built up a loyal and expanding customer base. Gildan Limited has three signature lines, Tops (shirts and Blouses), Bottoms (skirts and pants) and a Suits, all produced from organically grown and dyed linen fabric. Successful marketing and sales of these garments has resulted in the company exceeding full capacity at its current manufacturing base in Newton. Consequently, the directors are considering expanding production capacity over the next few years and are examining a number of possibilities. However, for the current year the company has a total of 15,000 machine hours and 20,000 direct labour hours available for production at its Newton manufacturing base. Production and sales details relating to the signature garments are shown below:

Tops

Bottoms

Suits

Direct material (linen) @$6 per meter

1.5 m

1.25 m

2.5 m

Direct labor@ $12per hour

0.25 hrs

0.25 hrs

0.5 hours

Variable overhead @ 150% of direct labor cost

Machine hours required

0.3 hrs

0.2hrs

0.25 hrs

Sales demand units (annual)

30,000

18,000

15,000

Selling price per unit

$ 54.00

$80.00

$105.00

Additional Information

Budgeted fixed manufacturing overheads per month $ 95,200

Budgeted selling and administrative cost per month $42,500

Required.

1. Based on the information provided, state whether Gildan Ltd has sufficient production capacity to satisfy sales demand for the coming year. (provide computations)

2. Compute the optimal production plan for Gildan Ltd for the current year, clearly showing total profit expected.   (10 marks)


In: Accounting