Questions
Write a C++ function that receives an integer array along with its specified length. The function...

Write a C++ function that receives an integer array along with its specified length. The function will replace only one of the smallest integers and one of the largest integers by 0. Then the function will return the average for the rest of the values in the array.

Test case array: 3, 8, 2, 6, 5, 3, 4, 7, 8, 2, 10, 7

Function should return: 5.3

In: Computer Science

Hello, Please give me step by step solution (screenshot) on how to use the SPSS to...

Hello,

Please give me step by step solution (screenshot) on how to use the SPSS to solve the following:

To examine the work environment on attitude toward work, an industrial hygienist randomly assigns a group of 18 recently hired sales trainees to three "home rooms" - 6 trainees per room. Each room is identical except for wall color. One is light green, another is light blue, and the third is a deep red. During the week-long training program, the trainees stay mainly in their respective home rooms. At the end of the program, an attitude scale is used to measure each trainer's attitude toward work (a low score indicates a poor attitude and a high score a good attitude). On the basis of these data, the industrial hygenist wants to determine whether there is significant evidence that work environment (i.e., color of room) has an effect on attitude toward work, and if so, which room color(s) appear to significantly enhance attitude using the SPSS ANOVA test.

Here is the data:

Light Green Light Blue Deep Red
46 59 34
51 54 29
48 47 43
42 55 40
58 49 45
50 44 34

What is your conclusion?

In: Statistics and Probability

Choose three companies (from these industries) from S&P 500 or Dow Jones Industrial Average; Build a...

Choose three companies (from these industries) from S&P 500 or Dow Jones Industrial Average; Build a portfolio of 100 shares distributed among the three companies you have chosen. Record the purchase prices and your total investment in dollars. This is the cost of your investment. Then follow your two investments, one a portfolio of stocks of the three companies you have chosen and the other an investment in the index you have chosen, over a period of two weeks. Make two readings per week with a spacing of two days between the two recordings and record the price movements, recording your losses and gains. Provide any economic insights that affect your portfolio and your index. This means that you must follow the business and economic news closely. Make the weekly observations on the same days. For example, if you choose Monday and Thursday or Tuesday and Friday as the days, then continue to make your recordings every Monday and Thursday or every Tuesday and Friday. Please record the dates the observations are made.

Index: S&P 500
(1) Disney Corporation; ticker symbol: DIS
(2) General Mills Inc.; ticker symbol: GIS
(3) Wal-Mat; ticker symbol: WMT
(4) Anheuser-Busch Companies; ticker symbol: BUD (5) Comcast Corporation; ticker symbol: CMCSA
(6) International Business Machines: IBM
(7) Boeing Company: BA
(8) Tyson Foods, Inc: TSN
(9) John and Johnson, Inc: JNJ
(10) P&G Co: PG

Index: Dow Jones Industrial Average
(1) Bank of America; ticker symbol: BAC
(2) International Business Machines; ticker symbol: IBM (3) AT&T; ticker symbol: ATT
(4) Merck; ticker symbol: MRK
(5) Caterpillar; ticker symbol: CAT
(6) McDonalds; ticker symbol: MCD
(7) Coca-Cola; ticker symbol: CCE
(8) Exxon Mobil; ticker symbol: XOM
(9) General Electric; ticker symbol: GE
(10) Microsoft; ticker symbol: MSFT

THANK YOU SO MUCH, I REALLY APPRECIATE YOUR HELP :)

In: Finance

In 2017, 965 students registered for a course. Explain how you will use the random number...


In 2017, 965 students registered for a course. Explain how you will use the random number table to select a simple random sample of 20 students.
Start from digit one of row 6.


Fill in the blanks
1. Bar chart is normally used for ___________ data.
2. Pie chart presents ___________ data.
3. A ____________________ is used to describe the relationship between two categorical variables.
4. A ___________ histogram is one with a single peak.
5. A ___________ histogram is one with two peaks.
6. Observations measured at the same point in time across individual units are called _______________ data.
7. Observations measured at successive points in time on a single unit are called _______________ data.

In: Math

here are several parts to this question so make sure you are answering each part. A...

  1. here are several parts to this question so make sure you are answering each part. A researcher collects the following sample of scores: 3, 5, 6, and 10. What is the mean?

QUESTION 5

  1. What is value for Σ(X – M)?

QUESTION 6

  1. What is the Sum of Squares?  

QUESTION 7

  1. What are the degrees of freedom?

QUESTION 8

  1. What is the variance? Round to three decimal places.

QUESTION 9

  1. What is the standard deviation? Round to three decimal places.

A sample of n = 10 scores has a M = 7 and s = 2. Two points is added to every score. Now, what is the standard deviation?

A sample of n = 10 scores has a M = 7 and s = 2. Every score is multiplied by 8. Now, what is the mean?

A sample of n = 10 scores has a M = 7 and s = 2. Every score is multiplied by 8. Now, what is the standard deviation?

A population of scores has a standard deviation of 12. What is the variance?

A population of scores has a variance of 81. What is the standard deviation?

In: Statistics and Probability

If a solution with 50% one fluid 50% another flowing through a pipe, with a given...

If a solution with 50% one fluid 50% another flowing through a pipe, with a given temperature, and internal diameter of pipe and pressure gradient per metre.

How would you confirm the flow is laminar ?

Calculate the volumetric flow rate ?

And calculate the local velocity of liquid at a given perpendicular distance from the inner wall of the pipe ?

In: Mechanical Engineering

[The following information applies to the questions displayed below.] Morganton Company makes one product and it...

[The following information applies to the questions displayed below.]

Morganton Company makes one product and it provided the following information to help prepare the master budget for its first four months of operations:

a.

The budgeted selling price per unit is $60. Budgeted unit sales for June, July, August, and September are 8,900, 20,000, 22,000, and 23,000 units, respectively. All sales are on credit.

b.

Forty percent of credit sales are collected in the month of the sale and 60% in the following month.

c. The ending finished goods inventory equals 20% of the following month’s unit sales.
d.

The ending raw materials inventory equals 10% of the following month’s raw materials production needs. Each unit of finished goods requires 5 pounds of raw materials. The raw materials cost $2.50 per pound.

e.

Thirty percent of raw materials purchases are paid for in the month of purchase and 70% in the following month.

f.

The direct labor wage rate is $13 per hour. Each unit of finished goods requires two direct labor-hours.

g.

The variable selling and administrative expense per unit sold is $1.50. The fixed selling and administrative expense per month is $70,000.

8. What is the estimated accounts payable balance at the end of July?
9. What is the estimated raw materials inventory balance at the end of July?
10.

What is the total estimated direct labor cost for July assuming the direct labor workforce is adjusted to match the hours required to produce the forecasted number of units produced?

11.

If the company always uses an estimated predetermined plantwide overhead rate of $7 per direct labor-hour, what is the estimated unit product cost? (Round your answer to 2 decimal places.)

12.

What is the estimated finished goods inventory balance at the end of July, if the company always uses an estimated predetermined plantwide overhead rate of $7 per direct labor-hour?

13.

What is the estimated cost of goods sold and gross margin for July, if the company always uses an estimated predetermined plantwide overhead rate of $7 per direct labor-hour?

14. What is the estimated total selling and administrative expense for July?
15.

What is the estimated net operating income for July, if the company always uses an estimated predetermined plantwide overhead rate of $7 per direct labor-hour?

In: Accounting

Use MS Excel and turn in your XLS document. This work is to be turned in...

Use MS Excel and turn in your XLS document. This work is to be turned in individually.



Compute the present value of a project that has a lifetime of 7 years. The total investment is 1.5 million dollars. The depreciation method is MACRS-GDS classified as 5 year property. The tax rate is 21%. 43% of the investment is financed with a loan at 7% per year, payable in 5 yearly payments. The positive cash flows in each one of the seven years are $420,000 each year. The salvage value of the investment is $225,000 at the end of the 7th year. The MARR is 14%

Show all your computations in a single table in MS Excel.



please submit the excel screenshot of the results and the screenshot of the formula used in excel to do the calculation

In: Accounting

1- Calculate the present value of $35,000 received 9 years from today if your investment pays...

1- Calculate the present value of $35,000 received 9 years from today if your investment pays 6% compounded annually.                                                                                                      

2- Calculate the present value of $50,000 received 8 years from today if your investment pays 8% compounded semiannually.                                                                                               

3- Calculate the present value of annuity $70,000 received 20 years from today if your investment pays 7% compounded annually.

                                                                                   

4- Calculate the present value of annuity $30,000 received 8 years from today if your investment pays 8% compounded quarterly.     

5- Calculate the future value of an annuity stream that pays $15,000 every year for 6 years on the last day of each year if your investment pays 12% compounded quarterly.

6- Calculate the future value of an annuity stream that pays $10,000 every year for 12 years on the last day of each year if your investment pays 6 % compounded semiannually.

7- Calculate the Future value of $35,000 received 9 years from today if your investment pays 6% compounded annually.   

8- Calculate the Future value of $75,000 received 8 years from today if your investment pays 8% compounded semiannually.                                                                                              

                                                                                                

9- Calculate the present value of annuity $30,000 received 8 years from today if your investment pays 8% compounded yearly.    

10- Calculate the present value of annuity $150,000 received 150 years from today if your investment pays 9% compounded annually.                                                                               

                                                                    

In: Finance

1.Midland Resources has two production departments (Fabrication and Assembly) and three service departments (Engineering, Administration, and...

1.Midland Resources has two production departments (Fabrication and Assembly) and three service departments (Engineering, Administration, and Maintenance). During July, the following costs and service department usage ratios were recorded:

Supplying Department Using Department
Engineering Administration Maintenance Fabrication Assembly
Engineering 0 50 % 0 10 % 40 %
Administration 10 % 0 20 % 50 % 20 %
Maintenance 0 20 % 0 20 % 60 %
Direct cost $ 22,000 $ 193,300 $ 25,000 $ 180,000 $ 50,000

  
Required:

Allocate the service department costs to the two operating departments using the reciprocal method

Engineering

Administration

Maintenance

2. GG Products, Inc., prepares tips and stems from a joint process using asparagus. It produced 250,000 units of tips having a sales value at the split-off point of $60,000. It produced 250,000 units of stems having a sales value at split-off of $40,000. Using the net realizable value method, the portion of the total joint product costs allocated to tips was $52,500.

Required:

Compute the total joint product costs before allocation. (Do not round intermediate calculations.)

Total Cost=

In: Accounting