Questions
Identify the advantages and disadvantages of monetary-unit sampling.

Identify the advantages and disadvantages of monetary-unit sampling.

In: Finance

The major issues of the health care system in the United States are the cost of...

The major issues of the health care system in the United States are the cost of health care, access to health care and quality of health care.

In a minimum of 250 words list and explain an example of each of the 3 major issues.

In: Nursing

Write a C++ program that takes two sets ’A’ and ’B’ as input read from the...

Write a C++ program that takes two sets ’A’ and ’B’ as input read from the file prog1 input.txt. The first line of the file corresponds to the set ’A’ and the second line is the set ’B’. Every element of each set is a character, and the characters are separated by space. Implement algorithms for the following operations on the sets. Each of these algorithms must be in separate methods or subroutines. The output should be written in the file prog1 output.txt. Write a title before the output of each operation. 1. Union 2. Intersection 3. A - B 4. Decide if (A ⊂ B). Program 2 – 50 points Write a program that takes three sets ’A’, ’B’, ’C’ as input read from the file prog2 input.txt. The first line of the file corresponds to the set ’A’, the second line is the set ’B’, and the third line is the set ’C’. Every element of each set is a character, and the characters are separated by space. Implement algorithms for the following operations on the sets. Each of these algorithms must be in separate methods or subroutines. The output should be written in the file prog2 output.txt and the standard output. Write a title before the output of each operation. 1. (A∪B)∪C. 2. A∪(B∩C). 3. (A∪B)∩(A∪C). HINTS You may want to use arrays. Pay special attention to the parentheses because they indicate the order. For example: (A ∪ B) ∪ C means to compute (A ∪ B) first, and then ∪C. Consider reusing the algorithms for union and intersection that you have defined already. For example, to compute (A ∪ B) ∪ C: First, compute A ∪ B using the function that computes the union that you already defined. Let’s say that you store that result in an array R. Then, compute R ∪ C using the function that computes the union that you already defined.

In: Computer Science

does an employers right to mointor workers trump employee privacy concerns? state two arguements/reasons for a...

does an employers right to mointor workers trump employee privacy concerns?

state two arguements/reasons for a NO response.

In: Operations Management

1. Articulate the aspects of the university environment to consider as they adopt and implement ERM....

1. Articulate the aspects of the university environment to consider as they adopt and implement ERM.
2. Describe the differences between formal structural and collegial organizational models as they relate to goal setting, decision making, and leadership.
3. Analyze strategies utilized at one higher education institution to adopt ERM processes to fit the decentralized academic environment.

In: Computer Science

Reimpelment a function called bubble_sort that has the following prototype. bubble_sort(int *array, int size, pointer to...

Reimpelment a function called bubble_sort that has the following prototype.

bubble_sort(int *array, int size, pointer to a function)
Pre condition
array - a pointer to a an array of size element.
pointer to function - a pointer to a function that compares two values (depending on sorting in ascending order or descending order)
Post condition
Sort the array in ascending or descending based on the the pointer to a function.

Call the function bubble_sort to sort the array in ascending
Display the sorting array.
Call the function bubble_sort to sort the array in descending
Display the sorting array.

use a list of integers from a file called data.txt
Here is the content of the file data.txt.
9
8
4
7
2
9
5
6
1
3

In: Computer Science

Suppose you have developed a social media management tool that you’ve made available as a service...

Suppose you have developed a social media management tool that you’ve made available as a service to everyone on your office network. Due to its success, you plan to expand by publicizing and providing the service to any client on the World Wide Web.
What problems might you expect as your service is requested by an increasing number of clients, and what are some of the things you might do to solve the problems?

In: Computer Science

Two of the main goals of International Consumer Law is to set a global minimum consumer...

Two of the main goals of International Consumer Law is to set a global minimum consumer protection standard and to remove obstacles to cross-border trade. The United Nations Guidelines on Consumer Protection (UNGCP) were promulgated to provide guidance as to the minimal standards of protection within the global market. The United Nations Conference for Trade and Development (UNCTAD) promotes those guidelines to member states. In addition to U.N. activity, the International Consumer Protection and Enforcement Network (ICPEN) was established in 1992 to promote international protection for consumers by creating a collaborative forum to address cross-border misconduct.

The UN Guidelines are designed with the intention of providing a inspirational model. Describe the fundamental principles upon which it is based. In addition, identify the long-term goals of the ICPEN in its effort to motivate cross-border traders to engage in acceptable conduct. Describe a couple of the mechanisms that the ICPEN use to encourage compliance.

In: Operations Management

Q20: Dow Jones Industrial Index has reached historical high recently. What factors in the stock valuation...

Q20: Dow Jones Industrial Index has reached historical high recently. What factors in the stock valuation model have driven the stock market index to the historical high level?

In: Finance

Were there any unresolved or changing manufacturing or delivery channel issues with the Eads bridge?

Were there any unresolved or changing manufacturing or delivery channel issues with the Eads bridge?

In: Operations Management

6.27 Ch 2 Program: Painting a wall (C++) (4)Calculate the cost of the paint. Paint comes...

6.27 Ch 2 Program: Painting a wall (C++)
(4)Calculate the cost of the paint. Paint comes in six colors (Red, Yellow, Green, Blue, Black,White) Assign numbers 0-5 to these paint colors ie Red =0 and White =5. The costs for each of these paints is as follows:(2 pts) Now your program will be submission ready.

Main.cpp

#include <iostream>
#include <cmath>
using namespace std;
#include "paint.h"

int main() {
   double wallHeight;
   double wallWidth;
   double wallArea;
   double gallonsPaintNeeded;
   int cansNeeded,colorNum;
   Color paintColor;
   double costArray[numOfColors];

   cout << "Enter wall height (feet): "<<endl;
   cin >> wallHeight;
   cout << "Enter wall width (feet): "<<endl;
   cin >> wallWidth;
   cout<< "Enter paint color as an integer"<<endl;
   cout<<"Red   - Enter 0"<<endl;
   cout<<"Blue - Enter 1"<<endl;
   cout<<"Green - Enter 2"<<endl;
   cout<<"Yellow- Enter 3"<<endl;
   cout<<"Black - Enter 4"<<endl;
   cout<<"White - Enter 5"<<endl;
   cout<<"Your color ?"<<endl;
   cin>>colorNum;
   paintColor= (Color)colorNum; // cast the integer to type Color

// Calculate and output wall area
// FIXME (1): Calculate the wall's area
   cout << "Wall area: " << wallArea << " square feet" << endl;   // FIXME (1): Finish the output statement


   // FIXME (2): Calculate and output the amount of paint in gallons needed to paint the wall

   cout << "Paint needed: " << gallonsPaintNeeded << " gallons" << endl;

   // FIXME (3): Calculate and output the number of 1 gallon cans needed to paint the wall, rounded up to nearest integer

   cout << "Cans needed: " << cansNeeded <<" can(s)" << endl;
   //FIX ME (3) populate the cost Array and calculate the total cost of the paint

cout << "TotalCost: $" << totalCost<<" for "<<cansNeeded;
switch (paintColor){
case Red: cout<<" Red";
break;
case Blue: cout<<" Blue";
break;
case Green: cout<<" Green";
break;
case Yellow: cout<<" Yellow";
break;
case Black: cout<<" Black";
break;
case White: cout<<" White";
break;
}
cout<<" can(s)" << endl;
   return 0;
}

paint.h

#include<fstream>
const double squareFeetPerGallons = 350.0;
const double gallonsPerCan        = 1.0;
const int numOfColors =6;
enum Color {Red, Blue, Green, Yellow, Black,White};
double calculateWallArea(double height, double width){
// height times width
}
double calculatePaintAmount(double wallArea){
//wallarea divided by square feet per gallons
}
int calculateNumberOfCans(double paintAmount){
return ceil(paintAmount/gallonsPerCan); // round up the number of cans needed
}
void getColorCost(double costArray[]){
//open the data file and read into array
}
double calculateCost(Color paintColor, double costArray[],double numOfCans ){
// the cost of paint given the color and number of cans
}

cost.txt
1.99
2.99
0.99
2.99
0.49
0.99

In: Computer Science

  A manufacturing firm has the following estimates for its inventory: 100,000 oz. of silver (D) is...

  1.   A manufacturing firm has the following estimates for its inventory:
    • 100,000 oz. of silver (D) is required for production each month
    • Ordering Costs are $50.00/order (OC)
    • Holding Costs are $1/oz. (HC)
  1. Calculate the EQQ based on the information;
  2. What’s the total cost at this EQQ units
  1. What are some major considerations in extending trade credit?

What’s the five C’s of credit approval?

  1. A firm has made a credit sales with the following credit terms:
  • $2,000,000 order, 30-day credit terms
  • VCR (0.30) = Variable cost ratio/$ of sales
  • EXP (0.05/CP) = Expenses for credit administration and collection/$ of sales
  • i (0.10/365) = Daily interest rate
  • CP (45 days) = Collection period for sale
  1. Calculate the variable cost of this sales
  2. Calculate the present value of this sales
  3. Calculate the NPV of this sales

In: Finance

1. Please list one pro and one con for each of the following theories. Please complete...

1. Please list one pro and one con for each of the following theories. Please complete answers with at least 3 sentences for each pro and for each con. So, each theory would have a total of at least 6 sentences.

a. psychoanalytic theory

b. behaviorism

c. cognitive theory

d. sociocultural theory

**You may use reliable, trustworthy resources and APA referencing should be implemented.

Please help. If possible need by tommorrow.

In: Psychology

Please share examples of how you plan on managing your time upon graduating from the Business...

Please share examples of how you plan on managing your time upon graduating from the Business Management program.

In: Operations Management

Traditional banking versus mobile or online banking 1. Discuss an assumption and an associated claim. 2....

Traditional banking versus mobile or online banking 1. Discuss an assumption and an associated claim. 2. Based on your selection, describe the main concepts and metaphors that have been used for each (include a marked-up graphic with your description). 3. Describe how they differ. 4. Describe the aspects of the paper-based artifact that informed the digital app. 5. Describe the new functionality and articulate the pros and cons.

In: Computer Science