explain the difference between activities and financial statements of service businesses and merchandising businesses.

explain the difference between activities and financial statements of service businesses and merchandising businesses.

In: Accounting

2. Compare and compare the matrix multiplication algorithm and the Floyd-Warshall algorithm to find all pairs...

2. Compare and compare the matrix multiplication algorithm and the Floyd-Warshall algorithm to find all pairs shortest paths from the perspective below.

  1. greedy vs dynamic programming
  2. recurrence relation
  3. relaxation process
  4. time & space complexity

In: Computer Science

Q: 50.00 ml of 0.5216 M copper(II) nitrate solution is combined with 100.0 ml of 0.5580...

Q: 50.00 ml of 0.5216 M copper(II) nitrate solution is combined with 100.0 ml of 0.5580 M potassium hydroxide solution according to the following unbalanced equation.

Cu(NO3)2 (ag) + KOH -> Cu(OH)2 (s) + KNO3 (aq)

(a) How many grams of copper(II) hydroxide can be formed?

(b) The solid was filtered, dried, and found to have a mass of 2.420 g. What was the percent yield?

(c) What are the concentrations of all species in the solution before the solid is removed?

In: Chemistry

This is a business law question. Explain how environmental laws regulate the use of toxic substances...

This is a business law question.

Explain how environmental laws regulate the use of toxic substances and the disposal of hazardous wastes?

In: Accounting

A sky diver and her parachute system weigh a total of 800 N. She is falling...

A sky diver and her parachute system weigh a total of 800 N. She is falling vertically at v = 30 m/s when her parachute opens. At the instant that the parachute opens, the drag force acting vertically upward on the open chute is equal to F = 0.5v2.

Draw a FBD of the diver-parachute.

Draw a Kinetic diagram of the diver-parachute.

At the instant that the chute opens, calculate the vertical acceleration of the

sky diver.

Why does the sky diver

In: Physics

Need solution: HSL Company produces rugs. The following cost information from last year is available: Total...

Need solution:

HSL Company produces rugs. The following cost information from last year is available:

Total fixed costs $ 43,200 Total variable costs $ 520,800 Units sold 6,200 units · Contribution margin ratio 30%

The company is considering a new, highly Automated machine to replace some of the labor force. In addition, the company will adjust the selling price to reflect the change in demand. Assume the following: Decrease in variable cost per unit by 3% Annual depreciation expense of the new machine $8,000 Contribution margin ratio increases to 40%

To achieve the same level of net income as last year, how many units of rugs the company must sell? (Round the answer to the nearest unit).

A. 4,256 units

B. 4,463 units

C. 6,002 units

D. 6,621 units

E. None of the above

In: Accounting

You are the network administrator for your organization. Your DHCP server (Server1) has a scope of...

You are the network administrator for your organization. Your DHCP server (Server1) has a scope of 10.10.16.0 to 10.10.16.254 with a subnet mask of /20.

How would the Get-DhcpServerv4Scope ensure that all of the client computers obtain an IP address from Server1.

In: Computer Science

python3 Let x0,...,xn−1 be n numbers stored in the list x. The median of x, denoted...

python3

Let x0,...,xn−1 be n numbers stored in the list x. The median of x, denoted median(x) is the “middle”-value of the numbers in x in the sense that half of the numbers in x are less than the median and the other half of the numbers in x are greater than the median. Let y denote a copy of x sorted in ascending order. Then median(x)=(y[n+1 2 −1] if n is oddy [n 2−1]+y[n 2] 2 if n is even. Complete the function my_median with the following specifications: • It that takes in one parameter, x, which is a list of numbers. • It returns median(x). • Do not alter x. Evaluating your function my_median(x) should not change the value of the list x. • Do not use Python’s built-in median function.

In: Computer Science

Raintree Cosmetic Company sells its products to customers on a credit basis. An adjusting entry for...

Raintree Cosmetic Company sells its products to customers on a credit basis. An adjusting entry for bad debt expense is recorded only at December 31, the company’s fiscal year-end. The 2017 balance sheet disclosed the following:

Current assets:
Receivables, net of allowance for uncollectible accounts of $30,000 $432,000


During 2018, credit sales were $1,750,000, cash collections from customers $1,830,000, and $35,000 in accounts receivable were written off. In addition, $3,000 was collected from a customer whose account was written off in 2017. An aging of accounts receivable at December 31, 2018, reveals the following:

Percentage of Year-End Percent
Age Group Receivables in Group Uncollectible
0–60 days 65 % 4 %
61–90 days 20 15
91–120 days 10 25
Over 120 days 5 40

Required:

1. Prepare summary journal entries to account for the 2018 write-offs and the collection of the receivable previously written off.
2. Prepare the year-end adjusting entry for bad debts according to each of the following situations:

  1. Bad debt expense is estimated to be 3% of credit sales for the year.
  2. Bad debt expense is estimated by computing net realizable value of the receivables. The allowance for uncollectible accounts is estimated to be 10% of the year-end balance in accounts receivable.
  3. Bad debt expense is estimated by computing net realizable value of the receivables. The allowance for uncollectible accounts is determined by an aging of accounts receivable.

3. For situations (a)–(c) in requirement 2 above, what would be the net amount of accounts receivable reported in the 2018 balance sheet?

Please answer question #3, thank you!

In: Accounting

1. The larger the calculated χ2 value in a goodness-of-fit test, the _______ likely the data...

1. The larger the calculated χ2 value in a goodness-of-fit test, the _______ likely the data fits the hypothesized distribution.

2.

If the observed frequencies are exactly equal to the expected frequencies in a chi-square test, the value of χ2 is:

a. close to 1

b. a large positive value

c. 0

d. a very small positive value

3. A chi-square statistic can be used to analyze contingency tables:

True or False

4. The chi-square statistic for a 6x4 contingency table will have ____ degrees of freedom.

5. The chi-square test can be used to determine if there is a significant difference between two sample proportions:

True or False

6. Which of the following null hypotheses cannot be tested with a chi-squared test?

a. Ho: the two variables defining the contingency table are independent.

b. Ho: the population distribution is a normal distribution.

c. Ho: the true category proportions are the same for all of the population.

d. Ho: the true population means are the same for all of the populations

7. To test the null hypothesis that a population proportion is p = 0.40 using a sample size of n = 12, we use the ____________ distribution.

a. t

b. normal

c. binomial

d. chi-square

8. The null hypothesis that two processes produce the same proportion of defectives can be written:

a. p = 0

b. x1/n1 = x2/n2

c. p1 - p2 = 0

d. x/n = 0

9. The chi-square distribution is symmetrical:

True or False

10. The test statistics for a small-sample test concerning proportion is the ___________. [hint: use all lowercase letters]

In: Math

tcp 16115

tcp 16115

In: Computer Science

#include <iostream> #include <fstream> #include <vector> #include <string> using namespace std; // Define a Person class,...

#include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;

// Define a Person class, including age, gender, and yearlyIncome.
class Person {
public:
Person();
void Print();
void SetData(int a); // FIXME Also set gender and yearly income
void SetGender(string gender);
void SetIncome(int income);
int GetAge();
string GetGender();
int GetIncome();

private:
int age;
string gender;
int yearlyIncome;
};

// Constructor for the Person class.
Person::Person() {
age = 0;
gender = "default";
yearlyIncome = 0;
return;
}

// Print the Person class.
void Person::Print() {
cout << "Age = " << this->age
<< ", gender = " << this->gender
<< ", yearly income = " << this->yearlyIncome
<< endl;
return;
}

// Set the age, gender, and yearlyIncome of a Person.
void Person::SetData(int a) { // FIXME Also set gender and yearly income
this->age = a;
return;
}

void Person::SetGender(string gender){
this->gender = gender;
}

void Person::SetIncome(int income){
this->yearlyIncome = income;
}
// Get the age of a Person.
int Person::GetAge() {
return this->age;
}

string Person::GetGender(){
return this->gender;
}

int Person::GetIncome() {
return this->yearlyIncome;
}

// Get a filename from program arguments, then make a Person for each line in the file.
bool ReadPeopleFromFile(int argc, char* argv[], vector<Person> &people) {
Person tmpPrsn;
ifstream inFS;
int tmpAge = 0;
string tmpGender = "";
int tmpYI = 0;

if (argc != 2) {
cout << "\nUsage: [EXECUTABLE FILE] [TEXT DATA FILE], e.g. myprog.exe dev_people.txt" << endl;
return true; // indicates error
}

cout << "Opening file " << argv[1] << ".\n";
inFS.open(argv[1]); // Try to open file
if (!inFS.is_open()) {
cout << "Could not open file " << argv[1] << ".\n";
return true; // indicates error
}

while (!inFS.eof()) {
inFS >> tmpAge;
inFS >> tmpGender;
inFS >> tmpYI;
tmpPrsn.SetData(tmpAge); // FIXME Also set gender and yearly income
tmpPrsn.SetGender(tmpGender);
tmpPrsn.SetIncome(tmpYI);
tmpPrsn.Print();
people.push_back(tmpPrsn);
}
inFS.close();
cout << "Finished reading file." << endl;

return false; // indicates no error
}

// Ask user to enter age range.
void GetUserInput(int &ageLowerRange, int &ageUpperRange, string &gender, int &yILowerIncome,int &yIHigherIncome) {
cout<<"\nEnter lower range of age: ";
cin >> ageLowerRange;

cout << "Enter upper range of age: ";
cin >> ageUpperRange;

cout << "Enter the gender: ";
cin >> gender;

cout << "Enter the lower range of yearlyIncome: ";
cin >> yILowerIncome;

cout << "Enter the higher range of yearlyIncome: ";
cin >> yIHigherIncome;

return;
}

// Return people within the given age range.
vector<Person> GetPeopleInAgeRange(vector<Person> ppl, int lowerRange, int upperRange) {
unsigned int i = 0;

vector<Person> pplInAgeRange;
int age = 0;
for (i = 0; i < ppl.size(); ++i) {
age = ppl.at(i).GetAge();
if ((age >= lowerRange) && (age <= upperRange)) {
pplInAgeRange.push_back(ppl.at(i));
}
}

return pplInAgeRange;
}

// Return people with same Gender.
vector<Person> GetPeopleWithSpecificGender(vector<Person> ptntlCstmrs,string gender){
vector<Person> pplWithSameGender;
string gndr;
for (int i=0;i<ptntlCstmrs.size();i++){
gndr = ptntlCstmrs.at(i).GetGender();
if (gndr.compare(gender) == 0){
pplWithSameGender.push_back(ptntlCstmrs.at(i));
}
}
return pplWithSameGender;
}

// Return people within the given income range.
vector<Person> GetPeopleInIncomeRange(vector<Person> ptntlCstmrs,int lowerRange, int higherRange){
vector<Person> pplInIncomeRange;
int range = 0;
for (int i=0;i<ptntlCstmrs.size();i++){
range = ptntlCstmrs.at(i).GetIncome();
cout << range << endl;
if ((range >= lowerRange) && (range <= higherRange)){
pplInIncomeRange.push_back(ptntlCstmrs.at(i));
}
}
return pplInIncomeRange;
}

int main(int argc, char* argv[]) {
vector<Person> ptntlCstmrs;
bool hadError = false;
int ageLowerRange = 0;
int ageUpperRange = 0;
string gender;
int yILowerIncome = 0;
int yIHigherIncome = 0;

hadError = ReadPeopleFromFile(argc, argv, ptntlCstmrs);
if( hadError ) {
return 1; // indicates error
}

GetUserInput(ageLowerRange, ageUpperRange, gender, yILowerIncome, yIHigherIncome );
ptntlCstmrs = GetPeopleInAgeRange(ptntlCstmrs, ageLowerRange, ageUpperRange);
ptntlCstmrs = GetPeopleWithSpecificGender(ptntlCstmrs,gender);
ptntlCstmrs = GetPeopleInIncomeRange(ptntlCstmrs,yILowerIncome,yIHigherIncome);
cout << "\nNumber of potential customers = "<<ptntlCstmrs.size() << endl;

return 0;
}

this is my code for my assignment, my professor said i'm missing

Based on that rubric, it looks like the code is missing two things:
* Person class in separate files

* Output persons with user-entered gender works for "any"

can someone help me with this?

In: Computer Science

Draw and label a schematic of an Ag/AgCl reference electrode. As part of your answer, include...


Draw and label a schematic of an Ag/AgCl reference electrode. As part of your answer, include the ½ reaction that is utilized by this electrode and include a description of how reference electrodes are utilized in electrochemicalmeasurements

In: Chemistry

Garrett Kelly. Corporation's identified their current production capacity to range from 6,500 units to 22,000 units....

Garrett Kelly. Corporation's identified their current production capacity to range from 6,500 units to 22,000 units. when it produced and sold 12,000 units, its average costs per unit are as follows:

Average Cost per Unit
Direct Materials 5.75
Direct Labor 4.25
Variable manufacturing overhead 1.75
Fixed Manufacturing Overhead 4.50
Fixed Selling Expense 1.75
Fixed Administrative Expense 0.90
Sales Commissions 0.75
Variable Administrative Expense 1.50

1) If 15,000 units are produced, the total amount of Prime Costs incurred is closest to: ______
2) Determine the Conversion Costs for 11,000 units.
3) Determine the Total Product Costs for 12,000 units.
4) Detemine Total Period Costs when 12,000 units are sold.

In: Accounting

A capacitor is made from two hollow, coaxial, iron cylinders, one inside the other. The inner...

A capacitor is made from two hollow, coaxial, iron cylinders, one inside the other. The inner cylinder is negatively charged and the outer is positively charged; the magnitude of the charge on each is 12.0 pC . The inner cylinder has a radius of 0.500 mm , the outer one has a radius of 7.60 mm , and the length of each cylinder is 24.0 cm .

Part A

What is the capacitance?

Use 8.854×10−12 F/m for the permittivity of free space.

C=___ F

Part B

What applied potential difference is necessary to produce these charges on the cylinders?

V=___ V

In: Physics