Questions
Email 1 Subject: Awk Utility Assessment 1 File: awk-utility-assessment-1.awk Create awk commands to remove all occurrences...


Email 1
Subject: Awk Utility Assessment 1
File: awk-utility-assessment-1.awk
Create awk commands to remove all occurrences of the word "PCC" from the input
stream. Your output should be a copy of each input line, with the word PCC
removed wherever it occurs.
      
Email 2
Subject: Awk Utility Assessment 2
File: awk-utility-assessment-2.awk
Create awk commands to remove the first and last words from each line of the
input (assume all lines contain 3 or more words). Your output should be a
copy of each input line, with the first and last words removed.

Email 3
Subject: Awk Utility Assessment 3
File: awk-utility-assessment-3.awk
Create awk commands to count the number of digits in the input.
Your output should be a single number.

Email 4
Subject: Awk Utility Assessment 4
File: awk-utility-assessment-4.awk
Create awk commands to calculate the sum of all digits in the input.
For example, if the input contains the number 123 in the first line,
and the number 456 in the last line, the output should be 21.
Your output should be a single number.

In: Computer Science

You have been tasked with fielding an interactive video communications systems. Your job is to provide...

You have been tasked with fielding an interactive video communications systems. Your job is to provide the U.S. Army with the least expensive system (for the next 5 years) from the following alternatives:

1. Intertactical. An interactive communications system designed to rely on current satellite systems. The Army must spend $10,590,843.42 now. (t = 0) and $1.7 million this year. (t = 1), increasing that investment by 13% in subsequent years for 4 additional years. (t = 2 through 5).

2. TacLine. Provides interactive communications that operate through existing phone lines. The Army must spend $4 million now (t = 0) and $3 million dollars this year (t = 1), increasing its investment by $500,000 each year thereafter for 4 additional years (t = 2 through 5).

(a) Draw and label a cash flow diagram for each of these ventures.

(b) Prepare a cash flow (CF) table in Excel for each of these ventures.

(c) Using an annual interest rate of 8%, conduct a present worth analysis for the first venture (Intertactical).

(d) Using an annual interest rate of 8%, conduct a present worth analysis for the second venture (TacLine).

(e) Are these two ventures equivalent? Why or why not?

In: Finance

Use the following information to answer questions 1-4. You have achieved a dream job working for...

Use the following information to answer questions 1-4.

You have achieved a dream job working for the Toledo Mud Hens. You estimate the demand for general admission tickets as follows.

Price Quantity
15 5000
14 6000
13 7000
12 8000
11 9000
10 10000

The marginal cost of selling a ticket is $2. Other fixed costs per game equal $5000. Finally, the seating capacity is 9000.

Question 1 (0.5 points)

What is the profit maximizing price?

Question 1 options:

15

14

13

None of the above

Question 2 (0.5 points)

What is the total cost at the profit maximizing price?

Question 2 options:

19000

21000

23000

None of the above

Question 3 (0.5 points)

Saved

What is the profit at the profit maximizing price?

Question 3 options:

76000

60000

47000

None of the above

Question 4 (0.5 points)

Suppose some new seats are added to the stadium (ignore the cost of adding these seats for the purpose of this question), and hence the capacity increases to 10000. With this new seating capacity, what price do you recommend?

Question 4 options:

10

11

12

None of the above

In: Economics

On August 1, 2011, Bonnie purchased $21,500 of Huber Co.'s 18%, 16-year bonds at face value....

On August 1, 2011, Bonnie purchased $21,500 of Huber Co.'s 18%, 16-year bonds at face value. Huber Co. has paid the semiannual interest due on the bonds regularly. On August 1, 2019, market rates of interest had fallen to 16%, and Bonnie is considering selling the bonds. Use the present value tables (Table 6-4 and Table 6-5) (Round your PV factors to 4 decimal places.)

Required:
Calculate the market value of Bonnie’s bonds on August 1, 2019. (Round your answer to 2 decimal places.)

In: Accounting

A student conducts an experiment boiling water in a 3.96L pot. The Diameter of the base...

A student conducts an experiment boiling water in a 3.96L pot. The Diameter of the base of the pot is 7-3/4” and the height is 5-1/8”.

2 Liters of water @ 23°C takes 11 minutes to boil. 500mL of water at 23°C are added to the boiling water. Producing 3-1/4” height of water and 88°C mixture temperature. It then takes till 11:29 for the water mixture to resume boiling. The whole operation takes 1 hour and 26 minutes from start to the pot boiled dry. How much energy was required for this process?

In: Mechanical Engineering

You are preparing some sweet potato pie for your annual Thanksgiving feast. The store sells sweet...

You are preparing some sweet potato pie for your annual Thanksgiving feast. The store sells sweet potatoes in packages of 6. From prior experience you have found that the package will contain 0 spoiled sweet potatoes about 55% of the time, 1 spoiled sweet potato 25% of the time and 2 spoiled sweet potatoes the rest of the time. Conduct a simulation to estimate the number of packages of sweet potatoes you need to purchase to have three dozen (36) unspoiled sweet potatoes.

Part 1 of 3: (6 pts)

Describe in detail and in paragraph form how you will use the random numbers provided from a random number table (in part 2) to conduct 4 trials of this simulation. Be sure to include all of the first four steps of a simulation. Steps 5 and 6 are part 2 and step 7 are part 3 of this question.

1. Identify the component to be repeated.

2. Explain how you will model the outcome.

3. Explain in detail how you will simulate the trial.

4. State clearly what the response variable is.

Part 2 of 3: (3 pts)

Use the random number table to complete 2 trials. Analyze your response variable.

Trial#1:   41 23  19  98  75 08  63  29  10

Trial #2: 88 26 95 69  57  71 02 62 34

Part 3 of 3: (1 pt)

Give your conclusion based on your simulation results.

In: Statistics and Probability

Read the following scenario and complete each of the problems below: A flashlight company claims that...

Read the following scenario and complete each of the problems below:

A flashlight company claims that the new bulb in its heavy duty flashlight will average 246 hours of light. A statistics student decides that he/she wants to test this claim at a 5% level of significance to determine if there is evidence to support the claim. The student randomly selects and test 15 flashlight bulbs and records how long the bulb last until it burns out. Assume the life of the bulb is normally distributed. The data is in the table below:

Trial:   1      2             3             4            5     6              7              8             9            10            11           12   13            14           15

Hrs: 246/         224/         231/       242/        234/         240/         243 /        236/         239/        255/        256/ 239/         247/         231/         253

A. Based on a histogram or box-plot of the data, what is the shape of the distribution (normal, skewed left, skewed right, uniform, etc.)? Explain why you can conduct a hypothesis test on the given data. (Compose your answer)

B. Evaluate the claim based on the following assumption: The standard deviation of the population is 7.4 hours. 1. Identify the type of test you will use to test the claim that the flashlight will average 246 hours of light. Explain your answer 2. State the null and alternate hypotheses. 3. Conduct the hypothesis test and determine the p-value. 4. State your conclusion about the claim that the flashlight will average 246 hours of light. 5. Construct a 95% confidence interval for this study.

1.

2.

3.

4.

5.

C. Evaluate the claim based on the following assumption. The population’s standard deviation is not known.

1. Identify the type of test you will use to test the claim that the flashlight will average 246 hours of light. Explain your answer.

2. State the null and alternate hypotheses.

3. Conduct the hypothesis test and determine the p-value.

4. State your conclusion about the claim that the flashlight will average 246 hours of light.

5. construct a 95% confidence interval for this study.

1.

2.

3.

4.

5.

D. Write a 200 to 400 word statement comparing and contrasting the two hypothesis test procedures and results.

In: Statistics and Probability

In this question using c++, you have to design the Pascal triangle where you can create...

In this question using c++, you have to design the Pascal triangle where you can create a list of coefficients of a binomial of any size that is passed to the constructor. Data members and member functions of this class are of your design choice. You need to use only pointers and pointers to pointers (do not use regular array notations). Create a two-dimensional array in the heap memory (which creates a dynamic memory). Use an application program to print out coefficients of a binomial in a triangle shape.

Output be like:

Enter the size of the Pascal triangle (to quit: -1): 5

1

1 1

1 2 1

1 3 3 1

1 4 6 4 1

Enter the size of the Pascal triangle (to quit: -1): -1

Thank you for using my program. See you soon!

In: Computer Science

The monthly market basket for consumers consists of​ pizza, t-shirts, and rent.   The table below shows...

The monthly market basket for consumers consists of​ pizza, t-shirts, and rent.  

The table below shows market basket quantities and prices for the base year​ (Year 1) and in the following two years.

Product

Base Year​ (Year 1)

Quantity

Price in the

Base Year

Price in

Year 2

Price in

Year 3

Pizza

10

​$3.00

​$3.75

​$4.05

​T-Shirts

4

​$25.00

​$22.50

​$26.25

Rent

1

​$400.00

​$440.00

​$520.00

The inflation rate between Year 1 and Year 2 is

nothing​%.

​ (Round

both answers to one decimal

place.​)

The inflation rate between Year 2 and Year 3 is

nothing​%.

In: Economics

1. Type 1 subsequent events involve events that existed ___ the balance sheet date. (after, before,...

1. Type 1 subsequent events involve events that existed ___ the balance sheet date. (after, before, between, close to, near, on)

2. Type 1 subsequent events require ___ of the financial statements. (adjustment, consideration, disclosure, documentation, duplication)

3. Type 2 subsequent events come into existence ___ the balance sheet date. (after, before, between, close to, near, on)

4. Type 2 subsequent events occur after the balance sheet date but ___ the completion of fieldwork. (after, close to, near to, prior to, subsequent to)

5. Type 1 subsequent events come into existence due to new ___ becoming available. (auditors, clients, documentation, evidence, judgement)

In: Accounting