Questions
language c++(Data structure) You have to read a file and store a data in character array...

language c++(Data structure) You have to read a file and store a data in character array ( you cant initialize a character array, you have to code generically) code must be generic u must read a file onece u cant use built in function etc string, code in classes if u initialized a char array or ur code doesn't run i will dislike and report u

you can use link list to store data

In: Computer Science

Brumeister Industries needed steel pipe to build furnaces for a customer. Brumeister sent Greene Steel an...

Brumeister Industries needed steel pipe to build furnaces for a customer. Brumeister sent Greene Steel an order for a certain quantity of “A 106 Grade B” steel. Greene confirmed the order and created a contract by sending an invoice to Brumeister, stating that it would send “A 106 Grade B” steel, as ordered. Greene delivered the steel and Brumeister built the furnaces, but they leaked badly and required rebuilding. Tests demonstrated that the steel was not, in fact, “A 106 Grade B,” but an inferior steel. Brumeister sued. Who wins?

In: Economics

Which of the following scenarios represents an example of sympatric speciation? A. Two populations of fish...

Which of the following scenarios represents an example of sympatric speciation?

A. Two populations of fish separated into species when a dam was built and their lake was divided in half.

B. Two species of fly breed at different times of year because they feed on different plant species in the same habitat.

C. Two bird populations are separated by the Rocky Mountains and are therefore unable to interbreed.

D. As continents drifted apart, populations of pterodactyls were eventually unable to fly far enough to interbreed.

In: Biology

All five members of a project team add 20% to their individual serial activities as a...

All five members of a project team add 20% to their individual serial activities as a safety margin and submit their time estimates to the project manager. The manager adds the activity length estimates together and adds 20% for his personal safety margin. Then, anticipating a cut by top management, he adds another 20% to his final project estimate. Much to his surprise, top management leaves his project alone. How much of a cushion is now built into the project?

In: Operations Management

Write a program that removes a target item (a string) from a list of strings, and...

Write a program that removes a target item (a string) from a list of strings, and
that will print out the list without the item. Do not use built-in functions other than
input, print, and append. Instead, you may generate a new list that does not
include the target item and you can use the append() function. Your program
should read two inputs: the target and the list. For example, if the input is “apple”
and the list is [‘berry’, ‘apple’, ‘pear’, ‘orange’], the outputs should be [‘berry’,
‘pear’, ‘orange’] .

In: Computer Science

Software vulnerabilities in cyberspace can range from the simple outdated security patches on national critical infrastructure...

Software vulnerabilities in cyberspace can range from the simple outdated security patches on national critical infrastructure systems to poorly designed defense missile control systems. When these industrial control systems, military weapon control systems, or air control transportation systems are designed without security built into the software, their security vulnerabilities are paramount to the national security, economy, and human health.

Do research on the latest prominent software vulnerabilities and share your literature review findings with the class.

In: Computer Science

1. An airline is considering the purchase of an Airbus A-320neo which offers improved fuel efficiency...

1. An airline is considering the purchase of an Airbus A-320neo which offers improved fuel efficiency over the previous generation of narrow-body aircraft. The list price of the A-320 is $110 million, but the airline will receive a 30% discount off of list (typical in the airline industry). The finance department estimates the aircraft will generate a positive net cash flow of $7 million in the first year increasing by 5% annually owing to the aircraft’s fuel efficiency. The airline plans to operate the aircraft for 15 years, then sell it in year 16 for an estimated net cash price of $40 million. The airline targets a return on invested capital of 10% annually (use this rate rather than the interest rate to discount future cash flows). Note: This computation is easiest to perform using MS Excel. Develop a discounted cash flow analysis using Excel and present your recommendations. Copy and paste the Excel spreadsheets into your problem set answers (do not just use Excel’s built-in formulas). There are many Excel formats that could be used, including a built-in template. Here is one format that can be used.

Year NCF (Millions $) Discount Factor PV (millions $)
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

In: Finance

1. You are driving into St. Louis, Missouri, and in the distance you see the famous...

1. You are driving into St. Louis, Missouri, and in the distance you see the famous Gateway-to-the-West arch. This monument rises to a height of 192 m. You estimate your line of sight with the top of the arch to be 6.83 ° above the horizontal. Approximately how far (in kilometers) are you from the base of the arch?

Numbers ______ Units_____

2. A highway is to be built between two towns, one of which lies 44.0 km south and 76.9 km west of the other. (a) What is the shortest length of highway that can be built between the two towns, and (b) at what angle would this highway be directed, as a positive angle with respect to due west?

A. Numbers _____ Units____

B. Numbers_______ units____

3.

Vector A→ has a magnitude of 79 units and points due west, while vector B→ has the same magnitude and points due south. Find the magnitude and direction of (a) A→+B→ and (b) A→-B→. Specify the directions relative to due west.

(a) Magnitude and direction of A→+B→ = ______ and __________

(b) Magnitude and direction of A→-B→ =  and o  north of west or south of west?

4.

A force vector has a magnitude of 584 newtons and points at an angle of 40o below the positive x axis. What are (a) the x scalar component and (b) the y scalar component of the vector?

(a)  Fx = Number  ______ Units_____

(b)  Fy = Number  Units _______

In: Physics

Here is another infectious disease model. Once a person becomes infected, the time X, in days,...

Here is another infectious disease model. Once a person becomes infected, the time X, in days, until the person becomes infectious (can pass on the disease) can be modeled as a Weibull random variable with density function

  

f(x,α,β) = (α/βα)xα−1e−(x/β)α

for 0 ≤ x ≤ ∞ and 0 otherwise with α = 3.7 and β = 7.1

α is the shape parameter and β is the scale parameter. Hint: Solve this with the built-in R functions for the Weibull distribution (dweibull(),pweibull(), qweibull()) not f as defined above. Otherwise you may get intermediate values too large to use. For a) and b) the text (and notes) give formulas for the answers. You can calculate from these formulas. Note that these formulas use the gamma function. Γ(α) is the gamma function. In R, there is a built-in function gamma() which calculates this.
a) What is the expected value of X?

b) What is the variance of X?

c) What is the standard deviation of X?

d) What is the probability that X is larger than its expected value?

e) What is the probability that X is > 2?

f) What is the probability that X is > 4?

g) What is the probability that X > 4 given that X > 2?

h) Calculate the 70th percentile of X

In: Statistics and Probability

Here is another infectious disease model. Once a person becomes infected, the time X, in days,...

Here is another infectious disease model. Once a person becomes infected, the time X, in days, until the person becomes infectious (can pass on the disease) can be modeled as a Weibull random variable with density function

  

f(x,α,β) = (α/βα)xα−1e−(x/β)α

for 0 ≤ x ≤ ∞ and 0 otherwise with α = 3.7 and β = 7.1

α is the shape parameter and β is the scale parameter. Hint: Solve this with the built-in R functions for the Weibull distribution (dweibull(),pweibull(), qweibull()) not f as defined above. Otherwise you may get intermediate values too large to use. For a) and b) the text (and notes) give formulas for the answers. You can calculate from these formulas. Note that these formulas use the gamma function. Γ(α) is the gamma function. In R, there is a built-in function gamma() which calculates this.
a) What is the expected value of X?

b) What is the variance of X?

c) What is the standard deviation of X?

d) What is the probability that X is larger than its expected value?

e) What is the probability that X is > 2?

f) What is the probability that X is > 4?

g) What is the probability that X > 4 given that X > 2?

h) Calculate the 70th percentile of X

In: Statistics and Probability