Complete the code below by finishing up the tasks detailed in the comments.
ArrayList<String> fruits = new ArrayList<>();
Scanner sc = new Scanner(System.in);
String fruit = "?";
while (!fruit.isEmpty()) {
// prompt the user to enter a fruit
// read the fruit using "sc", saving it into variable "fruit"
// convert the fruit entered to lowercase
// if the fruit is NOT empty and it is a new fruit, add it to ArrayList "fruits"
}
// display all fruitsIn: Computer Science
A large firm made up of several companies has instituted a new quality-control inspection policy. Among 30 artisans sampled in Company A, only 5 objected to the new policy. Among 36 artisans sampled in Company B, 7 objected to the policy.
a. Find the point estimate the true difference between the proportions voicing objection to the new policy for the two companies.
b. Find the standard deviation of the point estimator in part a.
c. Compute 95% confidence interval for the true difference between the proportions voicing objection to the new policy for the two companies.
d. Can we conclude that the proportions are not equal? why?
In: Statistics and Probability
You are the manager of a company that sells iPhone cases. The costs of producing the cases are given by C = 200 + 20Q (or the fixed costs are $200 and the variable costs are $20 per case). The demand for the cases is given by QD = 180 – 5P.
a) What is the firm’s optimal quantity and price?
b) What is the firm’s profit at the optimal quantity and price?
c) If the fixed costs decrease from $200 to $100, what is the new optimal price and quantity? What is the firm’s new profit?
d) If the variable costs increase from $20/unit to $24/unit, what is the new optimal price and quantity? What is the firm’s new profit?
In: Economics
You have to decide on a product/service you would like to provide. State it at the beginning of your essay. Go through the Appreciative Inquiry process and write up mission, vision, and values statement for this new company.
Imagine you are a strategic leader who has to develop a mission, vision, and values statement of a NEW (imaginary) company. You will have to decide on a product or service that this new company would like to offer and clearly state it in your essay.
The three statements for the company must be new and original, and NOT a copy
The paper should be between 2-3 pages, organized and referenced in accordance with APA format.
In: Operations Management
A programmer plans to develop a new software system. In planning for the operating system that he will use, he needs to estimate the percentage of computers that use a new operating system. How many computers must be surveyed in order to be 99% confident that his estimate is in error by no more than three percentage points question marks?
a) Assume that nothing is known about the percentage of computers with new operating systems.
n=___
b) Assume that a recent survey suggests that about 85% of computers use a new operating system.
n=____
c) Does the additional survey information from part (b) have much of an effect on the sample size that is required?
In: Statistics and Probability
1. In a clinical trial for the effectiveness of a new treatment for the flu, some people were given the new treatment while others received a placebo, Of the 400 people that were given the new treatment, 300 of them saw improvements. Of the 169 people that received the placebo, 120 saw improvements. Use a 0.05 significance level to test the claim that there is no difference in the proportion of people that saw improvements whether or not they receive the new treatment.
(a) Find the null hypothesis, H0 and the alternative hypothesis, H1.
(b) Find the test statistic, z.
(c) Find the critical region.
(d) Determine whether we can reject the null hypothesis or not
In: Statistics and Probability
Suppose that Anu’s utility function is given by U = √10W, where W represents annual income in thousands of dollars. Suppose that Anu is currently earning an income of $40,000 (I = 40) and can earn that income next year with certainty. She is offered a chance to take a new job that offers a 0.6 probability of earning $44,000 and a 0.4 probability of earning $33,000. a. Should she take the new job? b. Assume Anu takes the new job. Would she be willing to buy insurance to protect against the variable income associated with the new job? If so, how much would she be willing to pay for that insurance?
In: Economics
A new client has been paying its suppliers late consistently;
well in excess of the suppliers’ agreed credit terms. As a result,
some suppliers have begun demanding cash on delivery from the
client. You are also aware that a review of correspondence between
the new client and its bank reveals that the new client has been
experiencing cash flow problems for two years.
Required
Discuss THREE events or conditions described in the case that may
cast significant doubt on the new client’s ability to continue as a
going concern, and briefly explain why these vents or conditions
could indicate going concern issues.
In: Accounting
A firm is evaluating a new capital project. The firm spent $45,000 on a market study and $30,000 on consulting three months ago. If the firm approves the project, it will spend $800,000 on new machinery, $60,000 on installation, and $10,000 on shipping. The machine will be depreciated via simplified straight-line depreciation over its 12-year life. The expected sales increase from this new project is $500,000 a year, and the expected incremental expenses are $200,000 a year. In order to start this new project, the company will invest $100,000 in working capital. The marginal tax rate is 40%. What is the annual net cash flow per year from this project?
In: Finance
(a)The total water potential of an algal cell is -1.7MPa and solute potential within the cell is -2.6 MPa. The algal cell is placed in a large volume of 0.95 Molar sucrose solution at 20 celcius. will the water potential of the algal cell change? If so, what will be the new water potential? If solute potential does not change , what will be the new pressure potential?
(B) After the algal cell had equilibrated to the 0.95 Molar sucrose solution, it was then transferred to a larger volume of a 0.4 Molar NaCl solution at 30 celcius.What will be the new water potential of the algal cell after equilibrium? If solute potential does not change,, what will be the new pressure potential?
In: Biology