in C++
In this third part, write a function that accepts an array of integers and its size as arguments. The function should create a new array that is of half size the argument array (round up the fraction if the size of the argument array is odd). The value of the first element (Element 0) of the new array should be the sum of the first two elements of the argument array (Element 0 and 1). Element 1 of the new array should be the sum of Element 2 and 3 of the argument array, and so forth. If the size of the argument array is odd, then the last element of the new array should be the same as the last element of the argument array. The function should return a pointer to the new array to the main. IN THIS FUNCTION AND THIS FUNCTION
In: Computer Science
What will be the product of a nucleophilic acyl substitution reaction−a new carboxylic acid derivative, a mixture of two carboxylic acid derivatives, or no reaction−if the new group in the tetrahedral intermediate is
1. a stronger base than the substituent that was attached to the acyl group?
a.a new carboxylic acid derivative
b.a mixture of two carboxylic acid derivatives
c. no reaction
2. a weaker base than the substituent that was attached to the acyl group?
a.a new carboxylic acid derivative
b.a mixture of two carboxylic acid derivatives
c. no reaction
3. similar in basicity to the substituent that was attached to the acyl group?
a.a new carboxylic acid derivative
b.a mixture of two carboxylic acid derivatives
c. no reaction
In: Chemistry
X Company is trying to decide whether to continue using old equipment to make Product A or replace it with new equipment that will have lower operating costs. The following information is available:
Assuming a discount rate of 4%, what is the net present value of replacing the old equipment with the new equipment?
In: Accounting
protected String
name;
protected ArrayList<Stock>
stocks;
protected double
balance;
+ Account ( String name, double balance) //stocks = new
ArrayList<Stock>() ;
+ get and set property for name; get method for balance
+ void buyStock(String symbol, int shares, double unitPrice )
//update corresponding balance and stocks ( stocks.add(new
Stock(…..)); )
+ deposit(double amount) : double //returns new
balance
+ withdraw(double amount) : double //returns new balance
+ toString() :
String
@Override
public String toString(){
StringBuffer str = new
StringBuffer("Stocks: ");
for (Stock s :
stocks){
str.append(s.toString() + " ");
}
return "Name: " + name +
", balance: " + balance +"\t" + str.toString();
}
can anyone convert this to java?
In: Computer Science
X Company is trying to decide whether to continue using old equipment to make Product A or replace it with new equipment that will have lower operating costs. The following information is available:
Assuming a discount rate of 4%, what is the net present value of replacing the old equipment with the new equipment?
In: Accounting
#7. X Company is trying to decide whether to continue using old equipment to make Product A or replace it with new equipment that will have lower operating costs. The following information is available:
Assuming a discount rate of 5%, what is the net present value of replacing the old equipment with the new equipment?
In: Accounting
Silvana Zhang of Sajjad Jafri & Geopeng Li Limited is considering purchasing a new widget making machine. The new machine will replace the existing machine, which has a current market value of $1,000,000. New machine will reduce before tax operating cost by $300,000 per year for 15 years. The old machine is expected to last for another 10 years and will have a salvage value of $100,000 at the end of 10 years. The new machine is expected to last for 15 years and will have a salvage value of $200,000. CCA rate is 20%, tax rate is 30%, and the required rate of return is 15%
She would like to know the maximum price she should pay for the new machine.
In: Finance
A2Z Forensics is a digital forensics investigation firm that conducts forensic investigations for public as well as private sectors. You are working in this firm as a forensics specialist for a number of years now. The firm is establishing a new forensics lab to meet the future requirements. You have been asked to prepare a business case for this new lab. Your job is to focus on three aspects of the new lab which are hardware, software and lab security. Based on the knowledge of topic 2, prepare a brief business case, summarise and justify the equipment (both hardware and software) you recommend for this new lab that will meet future requirements. Also, briefly explain the security measures you recommend for this new lab
In: Computer Science
You are about to launch a new Dyson Vacuum Cordless Cleaner
Questions to be answered
1. Describe the market research you would conduct to analyze and segment the market for the new vacuum cleaner.
2. Explain how you would select a target market or markets for the product offering. These can be domestic markets, international markets, or both.
3. In addition, explain the process of positioning the new Dyson vacuum cleaner relative to the competition.
write a value proposition for the new Dyson Vacuum Cordless product.
To be answered
1. Identifying your new product idea, explaining the procedure you used to develop the process (from idea to launch),
2. And state your value proposition.
In: Operations Management
Cully Company needs to raise $45 million to start a new project and will raise the money by selling new bonds. The company will generate no internal equity for the foreseeable future. The company has a target capital structure of 60 percent common stock, 5 percent preferred stock, and 35 percent debt. Flotation costs for issuing new common stock are 7 percent, for new preferred stock, 4 percent, and for new debt, 2 percent. What is the true initial cost figure the company should use when evaluating its project? (Do not round intermediate calculations and enter your answer in dollars, not millions, rounded to the nearest whole dollar amount, e.g., 1,234,567.)
In: Finance