Questions
Month Machine Hours (hrs.) Maintenance Costs ($) 1 1,330 102,694 2 1,400 103,694 3 1,500 108,694...

Month

Machine Hours (hrs.)

Maintenance Costs ($)

1

1,330

102,694

2

1,400

103,694

3

1,500

108,694

4

1,470

108,694

5

1,620

116,694

6

1,690

115,694

7

1,490

107,694

8

1,310

102,694

9

1,450

106,694

10

1,580

113,694

11

1,300

100,694

12

1,600

113,694

13

1,650

114,694

14

1,440

109,694

15

1,340

102,694

16

1,670

114,694

17

1,480

106,694

18

1,360

103,694

19

1,340

103,694

20

1,540

112,694



Assume that the following relationship holds:

Maintenance Costs = (v * Machine Hours) + f

REQUIRED

Estimate the values of v and f and the cost equation, using,

1. the High-Low Method, and

2. the Linear Regression method.

Note, to use the linear regression method, you MUST use the Microsoft Excel program.

Make sure to report

1. The values of v and f;

2. A scatter plot of the data points, and

3. The adjusted R-square; explain what the adjusted R-square means.

4. The cost equation in the form of Y = vx + f, substituting the values for v and f from the regression output.

YOUR SUBMISSION MUST BE IN EXCEL. PLEASE INCLUDE AN EXCEL ATTACHMENT OR HYPERLINK! ONE WORKBOOK, WITH A WORKSHEET FOR EACH ANALYSIS (i.e., High-Low Method and Regression Analysis respectively).  

In: Accounting

Write a C++ program that inputs a sequence of integers into a vector, computes the average,...

Write a C++ program that inputs a sequence of integers into a vector, computes the average, and then outputs the # of input values, the average, and the values themselves. There are 0 or more inputs values, followed by a negative value as the sentinel; the negative value is not stored and not counted. The following sample input:

10
20
0
99
-1

would produce the following output:

N: 4
Avg: 32.25
10
20
0
99

The main program has been written for you, your job is to implement the two functions InputData andGetAverage. See the comments in the "student.cpp" file for specific implementation details.

main.cpp

#include <iostream>
#include <vector>

using namespace std;

// functions from student.cpp:
int InputData(vector<int>& V);
double GetAverage(vector<int> V, int N);

int main()
{
// assume at most 100 inputs:
vector<int> inputs(100);
int N;
double avg;

N = InputData(inputs);
avg = GetAverage(inputs, N);

cout << "N: " << N << endl;
cout << "Avg: " << avg << endl;

for (int i = 0; i < N; ++i)
{
cout << inputs.at(i) << endl;
}

return 0;
}

student.cpp

int InputData(vector<int>& V)
{

// TODO
  
return 0;
}

//
// GetAverage
//
// Returns the average of the first N values in the vector; if N is 0 then
// 0.0 is returned.
//
double GetAverage(vector<int> V, int N)
{

// TODO

return 0.0;
}

In: Computer Science

Write a C++ program that inputs a sequence of integers into a vector, computes the average,...

Write a C++ program that inputs a sequence of integers into a vector, computes the average, and then outputs the # of input values, the average, and the values themselves. There are 0 or more inputs values, followed by a negative value as the sentinel; the negative value is not stored and not counted. The following sample input:

10
20
0
99
-1

would produce the following output:

N: 4
Avg: 32.25
10
20
0
99

The main program has been written for you, your job is to implement the two functions InputData and GetAverage. See the comments in the "student.cpp" file for specific implementation details.

main.cpp

#include <iostream>
#include <vector>

using namespace std;

// functions from student.cpp:
int InputData(vector<int>& V);
double GetAverage(vector<int> V, int N);

int main()
{
// assume at most 100 inputs:
vector<int> inputs(100);
int N;
double avg;

N = InputData(inputs);
avg = GetAverage(inputs, N);

cout << "N: " << N << endl;
cout << "Avg: " << avg << endl;

for (int i = 0; i < N; ++i)
{
cout << inputs.at(i) << endl;
}

return 0;
}

student.cpp

int InputData(vector<int>& V)
{

// TODO
  
return 0;
}

//
// GetAverage
//
// Returns the average of the first N values in the vector; if N is 0 then
// 0.0 is returned.
//
double GetAverage(vector<int> V, int N)
{

// TODO

return 0.0;
}

In: Computer Science

What is your view about infecting Monkey with Covid-19 to conduct experiment for human being and...

What is your view about infecting Monkey with Covid-19 to conduct experiment for human being and what are the ethical issues involved?
Summary of background:
Monkeys were found to have developed antibodies after they were infected with Covid-19. The team infected four rhesus monkeys with the Covid-19. On the seventh day of the experiment, the team euthanized one of the monkeys. About a month later, after tests returned negative results and X-rays showed their internal organs had fully recovered, two monkeys were dosed with the virus through the mouth. The two monkeys were destroyed about two weeks later and autopsies performed. The researchers could not find a trace of the virus in their bodies.

In: Biology

1. What is typically the mobile phase in gas chromatography? 2. What affect is expected for...

1. What is typically the mobile phase in gas chromatography?

2. What affect is expected for retention times in a gas chromatography experiment if the temperature of the column is reduced?

3. If a significant clog in a 30 m capillary column is so severe that it has to be trimmed to 20 m, how will this affect its ability to effectively separate mixtures of compounds?

4. Why is CH2Cl2 the first peak observed in the gas chromatograms for this experiment?

5. If a student submitted a sample of water for GC analysis because they were confused about what was their organic layer and what was their aqueous layer, would a solvent peak be observed in the gas chromatogram of the sample assuming it was analyzed? Remember our gas chromatograph uses a FID.

In: Chemistry

1. What is typically the mobile phase in gas chromatography? 2. What affect is expected for...

1. What is typically the mobile phase in gas chromatography?

2. What affect is expected for retention times in a gas chromatography experiment if the temperature of the column is reduced?

3. If a significant clog in a 30 m capillary column is so severe that it has to be trimmed to 20 m, how will this affect its ability to effectively separate mixtures of compounds?

4. Why is CH2Cl2 the first peak observed in the gas chromatograms for this experiment?

5. If a student submitted a sample of water for GC analysis because they were confused about what was their organic layer and what was their aqueous layer, would a solvent peak be observed in the gas chromatogram of the sample assuming it was analyzed? Remember our gas chromatograph uses a FID.

In: Chemistry

I need to find the theoretical yield of benzoic acid from this lab experiment. The first...

I need to find the theoretical yield of benzoic acid from this lab experiment. The first part of the experiment involved this formula

C6H5COOH + NaOH ------> C6H5COO-Na+ + H2O where we mixed 30 mL of a stock solution of toluene-benzoic acid mixture and then added 15.0 mL of aqueous sodium hydroxide to seperate the two layers.

In the second part, C6H5COO-Na + Hcl-------> C6H5COOH + NaCl we took the aqueous layer extracted from the mixture in the first part and added 70 mL of 10% aqueous hydrochloric acid to acidify it.

A week later once it was dried, we obtained .5002 grams of benzoic acid.

Please show the work of how you found the theoretical yield.

In: Chemistry

Based on the grinard reagent/reaction (preparation of triphenylmethanol). 4. If you don't oven-dry your glassware or...

Based on the grinard reagent/reaction (preparation of triphenylmethanol).

4. If you don't oven-dry your glassware or use a drying tube, what byproduct will you produce? Illustate its formation by a chemical reaction.

5. You have air-dried your glassware and used a drying tube during the experiment. However, you used a wet methyl benzoate would the byproduct formed be different from that of question 4 above? Explain your answer.

6. Triphenylmethanol (the final product to be obtained during this experiment) can also be prepared by the reaction of PhMgBr with diethylcarbonate (CH3CH2O)2C=O, followed by H+ workup. Draw the corresponding chemical reaction, and explain your answer.

In: Chemistry

What is your view about infecting Monkey with Covid-19 to conduct experiment for human being and...

What is your view about infecting Monkey with Covid-19 to conduct experiment for human being and what are the ethical issues involved?
Summary of background:
Monkeys were found to have developed antibodies after they were infected with Covid-19. The team infected four rhesus monkeys with the Covid-19. On the seventh day of the experiment, the team euthanized one of the monkeys. About a month later, after tests returned negative results and X-rays showed their internal organs had fully recovered, two monkeys were dosed with the virus through the mouth. The two monkeys were destroyed about two weeks later and autopsies performed. The researchers could not find a trace of the virus in their bodies.

In: Biology

Question 1: a. The first four ionization energies of an element are approximately: 738 kJ mol-1,...

Question 1:

a. The first four ionization energies of an element are approximately:
738 kJ mol-1, 1450 kJ mol-1, 7.7 x 103 kJ mol-1, and 1.1 x 104 kJ mol-1.
Which family (group) of elements does this element belong? Explain.

b. In a photoelectron spectroscopy experiment the kinetic energy of the ejected electron from
a potassium atom is found to be 5.34 x 10-19 J using a UV source of wavelength 162 nm.
Calculate the ionization energy.

i. It is assumed that this ionization energy corresponds to the valence electron of
potassium in the 4s sublevel. How could you adjust this experiment to be sure that
this is the correct assumption?

In: Chemistry