Questions
I need assistance in discussing this topic. Business, society and the coronavirus. Based on the unique...

I need assistance in discussing this topic. Business, society and the coronavirus. Based on the unique circumstances that we are facing due to the coronavirus at this time, this topic will focus on business, society and the coronavirus. How has this virus affected business and society?

In: Operations Management

Give an example of a program that uses the nongeneric version of a class from the...

Give an example of a program that uses the nongeneric version of a class from the STL and the equivalent program that uses the generic version. How do the two implementations differ? Why is having the syntax of generics better?

In: Computer Science

3. (a) Let n ∈ N with n ≥ 2 and consider (Zn, ⊕). If a...

3. (a) Let n ∈ N with n ≥ 2 and consider (Zn, ⊕). If a ∈ Zn, show that a = a −1 if and only if n | 2a. What conditions on n would guarantee that no element is equal to its own inverse?

(b) Let p be prime and consider (Up, ). Under what conditions does a ∈ Up satisfy a = a −1 ? Can you specifically identify the elements that satisfy this condition?

In: Advanced Math

The Pharoah Products Co. currently has debt with a market value of $275 million outstanding. The...

The Pharoah Products Co. currently has debt with a market value of $275 million outstanding. The debt consists of 9 percent coupon bonds (semiannual coupon payments) which have a maturity of 15 years and are currently priced at $1,429.26 per bond. The firm also has an issue of 2 million preferred shares outstanding with a market price of $17 per share. The preferred shares pay an annual dividend of $1.20. Pharoah also has 14 million shares of common stock outstanding with a price of $20.00 per share. The firm is expected to pay a $2.20 common dividend one year from today, and that dividend is expected to increase by 4 percent per year forever. If Pharoah is subject to a 40 percent marginal tax rate, then what is the firm’s weighted average cost of capital?

Calculate the weights for debt, common equity, and preferred equity. (Round intermediate calculations and final answers to 4 decimal places, e.g. 1.2514.)
Debt ______

Preferred Equity _______

Common Equity ________

Calculate the cost of debt. (Round intermediate calculations to 4 decimal places, e.g. 1.2514 and final answer to 2 decimal places, e.g. 15.25%.)

Cost of Debit _______ %

What is the firm’s weighted average cost of capital? (Round intermediate calculations to 4 decimal places, e.g. 1.2514 and final answer to 2 decimal places, e.g. 15.25%.)

WACC ______%

In: Finance

Transition from paper medical records to electronic records. Create a project that includes steps, deadlines and...

Transition from paper medical records to electronic records.

Create a project that includes steps, deadlines and training for the transition.

In: Operations Management

Use the Internet to research IDS and Vulnerability Management and Assessment Tools. Find at least six...

Use the Internet to research IDS and Vulnerability Management and Assessment Tools. Find at least six (6) tools for each security tool category, with a minimum of three (3) Open Source and three (3) Commercial for each category of tools (6 IDS and 6 Vulnerability Management).

write a paragraph explaining which tool you prefer or will recommend for your company (one statement for each category, open source vs commercial). What is your logic behind your choice?

In: Computer Science

Using Eclipse to answer this Java question Using the concepts from the Concurrency Basics Tutorial I...

Using Eclipse to answer this Java question

Using the concepts from the Concurrency Basics Tutorial I provided in Modules, write a program that consists of two threads. The first is the main thread that every Java application has. The main thread should create a new thread from the Runnable object, MessageLoop, and wait for it to finish. If the MessageLoop thread takes too long to finish, the main thread should interrupt it. Use a variable named maxWaitTime to store the maximum number of seconds to wait. The main thread should output a message stating that it is still waiting every half second.

The MessageLoop thread should print out a series of 5 messages. It should wait 850 milliseconds between printing messages to create a delay. If it is interrupted before it has printed all its messages, the MessageLoop thread should print "Message loop interrupted" and exit.

Your program must demonstrate that it can both output messages and interrupt the message output. To do this, place your code in main into a for loop using maxWaitTime as the index.

So in main your code will be

for (int maxWaitTime = 1; maxWaitTime <= 5; maxWaitTime++) {

// All of main's processing goes here (All does not mean part of. ALL of main).

}

maxWaitTime means the same as it would in real life. It is how long the main thread waits before interrupting. Think about this. Don't confuse milliseconds and seconds.

Sample output :

maxWaitTime: 1 second(s)
main : Starting MessageLoop thread
main : Waiting for MessageLoop thread to finish
main : Continuing to wait...
main : Continuing to wait...
Thread-0 : 1. All that is gold does not glitter, Not all those who wander are lost
main : MessageLoop interrupted
maxWaitTime: 2 second(s)
main : Starting MessageLoop thread
main : Waiting for MessageLoop thread to finish
main : Continuing to wait...
main : Continuing to wait...
Thread-1 : 1. All that is gold does not glitter, Not all those who wander are lost
main : Continuing to wait...
main : Continuing to wait...
Thread-1 : 2. The old that is strong does not wither, Deep roots are not reached by the frost
main : MessageLoop interrupted
maxWaitTime: 3 second(s)
main : Starting MessageLoop thread
main : Waiting for MessageLoop thread to finish
main : Continuing to wait...
main : Continuing to wait...
Thread-2 : 1. All that is gold does not glitter, Not all those who wander are lost
main : Continuing to wait...
main : Continuing to wait...
Thread-2 : 2. The old that is strong does not wither, Deep roots are not reached by the frost
main : Continuing to wait...
main : Continuing to wait...
Thread-2 : 3. From the ashes a fire shall be woken, A light from the shadows shall spring
main : MessageLoop interrupted
maxWaitTime: 4 second(s)
main : Starting MessageLoop thread
main : Waiting for MessageLoop thread to finish
main : Continuing to wait...
main : Continuing to wait...
Thread-3 : 1. All that is gold does not glitter, Not all those who wander are lost
main : Continuing to wait...
main : Continuing to wait...
Thread-3 : 2. The old that is strong does not wither, Deep roots are not reached by the frost
main : Continuing to wait...
main : Continuing to wait...
Thread-3 : 3. From the ashes a fire shall be woken, A light from the shadows shall spring
main : Continuing to wait...
Thread-3 : 4. Renewed shall be blade that was broken
main : Continuing to wait...
main : MessageLoop interrupted
maxWaitTime: 5 second(s)
main : Starting MessageLoop thread
main : Waiting for MessageLoop thread to finish
main : Continuing to wait...
main : Continuing to wait...
Thread-4 : 1. All that is gold does not glitter, Not all those who wander are lost
main : Continuing to wait...
main : Continuing to wait...
Thread-4 : 2. The old that is strong does not wither, Deep roots are not reached by the frost
main : Continuing to wait...
main : Continuing to wait...
Thread-4 : 3. From the ashes a fire shall be woken, A light from the shadows shall spring
main : Continuing to wait...
Thread-4 : 4. Renewed shall be blade that was broken
main : Continuing to wait...
main : Continuing to wait...
Thread-4 : 5. The crownless again shall be king
main : Done!

In: Computer Science

select one of the following types of businesses: Custom home builder Auto repair shop Accounting firm...

select one of the following types of businesses:

  • Custom home builder
  • Auto repair shop
  • Accounting firm
  • Lawn service company
  • Television show production

Describe how your chosen business might use Managerial Accounting to support internal AND external Stakeholders.

In: Accounting

Write a C or C++ program that uses pthreads to compute the number of values that...

Write a C or C++ program that uses pthreads to compute the number of values that are
evenly divisible by 97 between a specified range of values (INCLUSIVE).

The program should accept 3 command-line arguments:
low value
high value
number of threads to create to perform the computation

-Specifics for program

order of input: 0 9000000000 2 this means 0 to 9 Billion (INCLUSIVE); 2 threads

alarm(90); this should be the first executable line of the program to make sure it does not run for too long

use long ints instead of ints

hard-code the use of 97 in computations, instead of into a variable (const may be ok)

time1 please copy function below to get the time

sample output from the above run:
THREAD 0: 46391753
THREAD 1: 46391753
TOTAL 92783506
TIME 7.425558

time1 function

#include <stdio.h>

#include <unistd.h>

#include <stdlib.h>

#include <time.h>

#include <sys/time.h>

  

double time1()

{

struct timeval tv;

gettimeofday( &tv, ( struct timezone * ) 0 );

return ( (double) (tv.tv_sec + (tv.tv_usec / 1000000.0)) );

}

double time2()

{

return ( (double) time(NULL) );

}

void main(int argc,char *argv[])

{

double t1, t2, t3, t4;

t1 = time1();

t2 = time2();

printf("%lf %lf\n",t1,t2);

sleep(2);

t3 = time1();

t4 = time2();

printf("%lf %lf\n",t3,t4);

printf("%lf %lf\n",t3-t1,t4-t2);

}

In: Computer Science

Can you answer these question using python and recursive functions Write a function that consumes two...

Can you answer these question using python and recursive functions

Write a function that consumes two numbers N1 and N2 and prints out all the even numbers between those numbers, using recursion.

Using any number of list literals of maximum length 2, represent the data from your Survey List. So you cannot simply make a list of 15 values. Make a comment in your code that explicitly describes how you were able to represent this.

Write a recursive function that traverses your list of pairs and calculates their sum.

In: Computer Science

2. Discuss/explain congestive heart failure, asthma, emphysema, cystic fibrosis, lung cancer, and sudden infant death syndrome.

2. Discuss/explain congestive heart failure, asthma, emphysema, cystic fibrosis, lung cancer, and sudden infant death syndrome.

In: Nursing

The total equity of the business is P500, 000. Owner’s equity is P400, 000. Plant and...

The total equity of the business is P500, 000. Owner’s equity is P400, 000. Plant and Equipment is 45% of total Assets, the total current assets is

Select one:

a. P225, 000

b. P220, 000

c. P275, 000

d. P100,000

Mr. A has the following revenue transactions during April of the current year: Rendered services: Cash, P5, 000 & on credit, P3, 500; received P5000 advance payment for services to be rendered in May. The amount of income to be recognized in April is

Select one:

a. P5,000

b. P13,500

c. P10,000

d. P8,500

Odd-man out: Select the word that does not belong to the group.

Select one:

a. Balance Sheet

b. Statement of Cash Flow

c. Worksheet

d. Income Statement

The company's performance for a given accounting period is measured and evaluated through the income statement.

Select one:

True

False

Odd-man out: Select the word that does not belong to the group.

Select one:

a. Factory Insurance

b. Depreciation of Delivery Equipment

c. Salaries of factory supervisor

d. Factory Supplies

In: Accounting

What are the big players in the cruise industry? Give a brief introduction to each company,...

What are the big players in the cruise industry? Give a brief introduction to each company, Discuss their situation today under the impact of COVID-19. What kind of changes do you see in this industry after the outbreak? brief explanation (2 paragraphs)

In: Operations Management

//those who say that "whether the student wants to understand or debug the code, IT IS...

//those who say that "whether the student wants to understand or debug the code, IT IS IN THE COMMENTS, it says solve and that is all that is given for the code and no other instructions

it says //SOLVE

// the code already works you just have to finish the void functions that are given and run it and see if it works or not are those in the main are the test cases to test whether they work or not

#include

#include

using namespace std;

class NodeType {

public:

  NodeType(int = 0); // constructor with default value for

           // info field

  int info;    // data

  NodeType *nextPtr; // pointer to next node in the list

};

// Constructor

NodeType::NodeType(int data) {

  info = data;

  nextPtr = 0;

}

void printmenu(void) {

  cout << "N: new item" << endl;

  cout << "P: print list" << endl;

  cout << "F: find item" << endl;

  cout << "D: delete head item" << endl;

  cout << "V: delete value" << endl;

  cout << "S: recursively sum values" << endl;

  cout << "O: recursively prod values" << endl;

  cout << "X: recursively find max" << endl;

  cout << "G: recursive negative item on list" << endl;

  cout << "Q: quit" << endl;

}

void printList(NodeType *currentPtr) {

//solve

return 0;

int MaxList(NodeType *currentPtr) {

//solve

return 0;

}

int sumList(NodeType *currentPtr) {

  return 0;

//solve

}

int prodList(NodeType *currentPtr) {

//solve

return 0;

}

bool negList(NodeType *currentPtr) {

//solve

\ return 0;

}

NodeType *insertHead(NodeType *head, int value) {

//solve  

NodeType *newptr;

  return (newptr);

}

void findValue(NodeType *head, int value) {

//solve

}

NodeType *deleteFront(NodeType *head) {

  // deletes the first item and returns the new head pointer

  NodeType *tempPtr;

//solve  

return tempPtr;

}

NodeType *deleteValue(NodeType *currentPtr, int value) {

  NodeType *tempPtr = NULL;

//solve  

return tempPtr;

}

int main(void) {

  NodeType *head = NULL;

  int value;

  char input;

  printmenu();

  cout << "what is your selection?";

  cin >> input;

  while (input != 'Q' && input != 'q') {

    switch (input) {

    case 'n':

    case 'N':

      cout << "N" << endl;

      break;

    case 'p':

    case 'P':

      cout << "P" << endl;

      break;

    case 'o':

    case 'O':

      cout << "O" << endl;

      break;

    case 's':

    case 'S':

      cout << "S" << endl;

      break;

    case 'x':

    case 'X':

      cout << "X" << endl;

      break;

    case 'g':

    case 'G':

      cout << "G" << endl;

      break;

    case 'f':

    case 'F':

      cout << "What value would you like to find?" << endl;

      cin >> value;

      cout << endl << "You are finding: " << value << endl;

      break;

    case 'd':

    case 'D':

      cout << "Deleting head entry if present" << endl;

      break;

    case 'v':

    case 'V':

      cout << "What value would you like to delete?" << endl;

      cin >> value;

      cout << "You are deleting " << value << endl;

      break;

    default:

      cout << "What happened?" << endl;

    }

    printmenu();

    cout << "what is your selection?";

    cin >> input;

  }

  system("pause");

}

In: Computer Science

To evaluate the predictive performance of a model constructed from a two-class data set, k-fold cross-validations...

To evaluate the predictive performance of a model constructed from a two-class data set, k-fold cross-validations are frequently applied. Describe the concept of cross-validation, and two performance measures, sensitivity and specificity, respectively.

In: Computer Science