Questions
Explain in detail what is Return of Investment (ROI) & Discounted Return on Investment (DROI).

Explain in detail what is Return of Investment (ROI) & Discounted Return on Investment (DROI).

In: Economics

explain what is the Ergonomic Hazard among health care personnel in detail with examples.

explain what is the Ergonomic Hazard among health care personnel in detail with examples.

In: Nursing

What fluid property is responsible for the develop­ment of the velocity boundary layer? Explain in detail.

What fluid property is responsible for the develop­ment of the velocity boundary layer? Explain in detail.

In: Mechanical Engineering

What is the difference between the substitution and the income effect of a price increase? Explain...

What is the difference between the substitution and the income effect of a price increase? Explain in detail

In: Economics

What are the factors that contribute to credit risk of corporate bonds(please explain in detail)

What are the factors that contribute to credit risk of corporate bonds(please explain in detail)

In: Finance

1. What is the difference between a VC and an Angel investor? 2. How are their...

1. What is the difference between a VC and an Angel investor?

2. How are their investment approached different?

3. According to Bussgang, what is the only number that matters to an entrepreneur in valuation and what is its equation?

4. Why does Bussgang call VC an “ADD” job and why is this important for the entrepreneur to understand when attempting to raise capital?

5. Identify the top 4 issues you would be concerned about when you are raising capital from a VC. Please state the issues clearly and explain your rationale for each. Please include references.

In: Finance

what is rehabilitation and explain about it types?

what is rehabilitation and explain about it types?

In: Nursing

This format should allow you more time to think about your answer. The length of your...

This format should allow you more time to think about your answer. The length of your answers should range from 2-4 paragraphs, depending on the complexity of the question. Each question is worth 10 points. Remember to use the readings and your class notes to answer the questions. Use citations/quotes and then go on to interpret and explain the quote in your own words.

Use the circuits of industrial capital to describe the location of capitalist profit. Be sure to explain what “surplus value” is and how it is created. Go on to describe the 3 main factors that influence the rate of surplus value and give examples of each one using contemporary 21st century examples.

In: Economics

Please explain your answers and use Excel to show the excel formula you used to get...

Please explain your answers and use Excel to show the excel formula you used to get your solution.

6. A manufacturing process produces connecting rods whose diameter is normally distributed with mean 1.495 cm and standard deviation .05 cm. In what range will the “middle 80%” of the diameters lie? What about the “middle 98%”?

In: Statistics and Probability

Understand the code and explain the code and answer the questions. Type your answers as comments....

Understand the code and explain the code and answer the questions. Type your answers as comments.

#include

#include

using namespace std;

// what is Color_Size and why it is at the end?

enum Color

{

       Red, Yellow, Green, Color_Size

};

// what is Node *next and why it is there?

struct Node

{

       Color color;

       Node *next;

};

// explain the code below

void addNode(Node* &first, Node* &last, const Color &c)

{

       if (first == NULL)

       {

              first = new Node;

              first->color = c;

              first->next = NULL;

              last = first;

       }

       else

       {

              last->next = new Node;

              last->next->color = c;

              last->next->next = NULL;

              last = last->next;

       }

}

// explain the code below

string colorToString(const Color &c)

{

       if (c == Red) return "Red";

       else if (c == Yellow) return "Yellow";

       else if (c == Green) return "Green";

}

// explain the code below

Color intToColor(const int &i)

{

       if (i == 0) return Red;

       else if (i == 1) return Yellow;

       else if (i == 2) return Green;

       else return Color_Size;

}

// explain the code below and why the number 48 is there?

Color charToColor(const char &c)

{

       if (c >= 48 && c <= (48 + Color_Size - 1))

       {

              return intToColor(c - 48);

       }

       else

       {

              return Color_Size;

       }

}

// explain the code below

string printNodes(Node* &first)

{

       if (first == NULL) return "";

       Node *n = first;

       string text = "List: ";

       while (n != NULL)

       {

              if (n->color == Red) text += colorToString(Red);

              else if (n->color == Yellow) text += colorToString(Yellow);

              else if (n->color == Green) text += colorToString(Green);

              if (n->next != NULL) text += ", ";

              n = n->next;

       }

       return text;

}

// explain the code below

string printMenu()

{

       string text = "Choose Color to Add to the List:\n";

       for (int i = 0; i < Color_Size; i++)

       {

              text += to_string(i) + "> ";

              text += colorToString(intToColor(i));

              text += "\n";

       }

       text += to_string(Color_Size) + "> " + "Print List";

       return text;

}

// explain the code below

bool invalidInput(const char &input)

{

       return (input < 48) || (input > (48 + Color_Size));

}

// explain the code below

void freeMemory(Node* &first)

{

       if (first == NULL) return;

       Node *n = first;

       while (n != NULL)

       {

              first = first->next;

              delete n;

              n = first;

       }

}

int main()

{

       bool loopIt = true;

       char input;

       Node *first, *last;

       first = NULL;

       last = NULL;

       while (loopIt)

       {

              cout << printMenu() << endl << endl;

              cout << "Input: ";

              cin >> input;

              cout << endl;

              if (invalidInput(input))

              {

                     cout << "invalid input! the app will close . . ." << endl;

                     loopIt = false;

              }

              else

              {

                     if (charToColor(input) == Color_Size)

                     {

                           cout << printNodes(first) << endl << endl;

                     }

                     else

                     {

                           addNode(first, last, charToColor(input));

                     }

              }

       }

       freeMemory(first);

       system("pause");

       return 0;

}

In: Computer Science