Questions
//This is an ArrayReverser Problem.. import java.util.Scanner; public class Main { public static void main(String[] args)...

//This is an ArrayReverser Problem..

import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
  
// Read in the list of numbers
int[] numbers;
String input = sc.nextLine();
if (input.equals("")) {
numbers = new int[0];
} else {
String[] numberStrings = input.split(" ");
numbers = new int[numberStrings.length];
for (int i = 0; i < numberStrings.length; i++) {
numbers[i] = Integer.parseInt(numberStrings[i]);
}
}
  
// Reverse the list
int[] resultArray = reverseArray(numbers);
  
// Print the reversed list
StringBuilder resultSb = new StringBuilder();
for (int i = 0; i < resultArray.length; i++) {
resultSb.append(new Integer(resultArray[i]).toString());
if (i < resultArray.length - 1) {
resultSb.append(" ");
}
}
System.out.println(resultSb.toString());
}
  
public static int[] reverseArray(int[] originalArray) {
// TODO implement this function
throw new UnsupportedOperationException();

//put code here
}
}

//Thanks.

In: Computer Science

The Newton Company has 120,000 shares of stock that each sell for $65. Suppose the company...

The Newton Company has 120,000 shares of stock that each sell for $65. Suppose the company issues 9,000 shares of new stock at the following prices: $65, $50, and $45.

  

What is the effect of each of the alternative offering prices on the existing price per share? (Do not round intermediate calculations and round your answers to 2 decimal places, e.g., 32.16.)

  

Share price
  New shares at $65 $   
  New shares at $50 $   
  New shares at $45 $   

In: Finance

Sam's Shingle Corporation is considering the purchase of a new automated shingle-cutting machine.

Sam's Shingle Corporation is considering the purchase of a new automated shingle-cutting machine. The new machine will reduce variable labor costs but will increase depreciation expense. Contributian margin is expected to increase from $304,920 to $338.800. Net income is expected to be the same at $18,400. 


Compute the degree of operating leverage before and after the purchase of the new equipment. (Round answers to 1 decimal place, e.g. 1.5.) 

Degree of operating leverage (old) 

Degree of operating leverage (new

In: Accounting

Southern Alliance Company needs to raise $27 million to start a new project. The company has...

Southern Alliance Company needs to raise $27 million to start a new project. The company has a target capital structure of 60 percent common stock, 11 percent preferred stock, and 29 percent debt. Flotation costs for issuing new common stock are 11 percent, for new preferred stock, 8 percent, and for new debt, 4 percent. What is the true initial cost figure Southern should use when evaluating its project?

In: Finance

The company has just come up with a new highly profitable product. As a result it...

The company has just come up with a new highly profitable product. As a result it plans to retain all earnings for the next 3 years (i.e. b=1) and invest them at a return (R) of 100% per year. After three years the company will go back to its old policy of retaining 60 percent of its earnings and investing them at 20 percent.

  1. What will be the new price of the stock?
  2. The new PE ratio
  3. The new premium for growth?

In: Finance

Assume the following information Current spot rate of New Zealand dollar = $0.41 Forecasted spot rate...

Assume the following information

Current spot rate of New Zealand dollar = $0.41
Forecasted spot rate of New Zealand dollar 1 year from now = $0.43
One-year forward rate of the New Zealand dollar = $0.42
Annual interest rate on New Zealand dollars = 0.075
Annual interest rate on U.S. dollars = .09

Given the information in this question, the return from covered interest arbitrage by U.S. investors with $479,000 to invest is about ________.

In: Finance

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida.


To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account.

Determine the equation for computing Gustin’s profit per seminar, given values of the relevant parameters.

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account. What type of random variable is the number of new accounts opened? Hint: Review Appendix 16.1 for descriptions of various types of probability distributions.

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account.

Construct a spreadsheet simulation model to analyze the profitability of Gustin’s seminars (you'll upload this in the last question of the test). Would you recommend that Gustin continue running the seminars? Why?

To generate leads for new business, Gustin Investment Services offers free financial planning seminars at major hotels in Southwest Florida. Gustin conducts seminars for groups of 25 individuals. Each seminar costs Gustin $3500, and the average first-year commission for each new account opened is $5000. Gustin estimates that for each individual attending the seminar, there is a 0.01 probability that he/she will open a new account.

How large of an audience does Gustin need before a seminar’s expected profit is greater than zero? (Enter the number only)

In: Finance

haleen: Pregnancy & Lactation Case Study (10 pts.) Instructions: This case study assignment should be treated...

haleen: Pregnancy & Lactation Case Study (10 pts.) Instructions: This case study assignment should be treated as a short paper, including a cover page, a heading, and page numbers. Set up the paper with one-inch margins, double-spacing, with the font set at 12-point Times New Roman. The introduction to the paper should summarize the case you have chosen to discuss. Responses to the case study questions should be written in paragraph form. Each paragraph in the case study should begin with an introductory statement that lets the reader know what topic you will be addressing in the paragraph. For example, if the case study question asks, “What nutrients are deficient in Shaleen’s diet, based on her current diet history?” You might start the discussion in this paragraph by indicating: “Shaleen has X nutritional deficiencies, based on her diet history. Her current diet consists of XXXXX. She is deficient in XXXXX.” The paragraph would continue with the explanation (or rationale) for your response: “According to Rolfe et al. (2012), a 16-year-old requires XXXXX. Because she is pregnant, she also XXXXX and so on. Scenario: Shaleen is a 16-year-old inner-city youth and high school student. She requests a pregnancy test at the Public Health Clinic. The pregnancy test is positive and she informs the clinic that her last menstrual period was 8 weeks ago. Previous History: Shaleen has had two previous pregnancies, one a stillbirth in which she gained 15 pounds and the baby weighed 4 pounds at term. The other ended due to a miscarriage at 9 weeks gestation and occurred 6 months ago. Her first pregnancy was at the age of 13. Social History: Lives at home with her mother and 5 siblings. Her mother provides the only income as a third shift waitress at a local 24-hour restaurant. The family receives $200 per month in food stamps. You speak with Shaleen at the Public Health Clinic after she receives the positive results of her pregnancy test. A brief diet and health history indicates the following information. She is a three-year smoker and is constantly concerned about her weight. Her diet consists mainly of diet cola, pizza, burgers, hot dogs, and convenience pasta dishes like Spaghetti-Os. She does get school lunch for free because of her family income level but rarely eats the fruits and vegetables or drinks the milk. Since Shaleen is the eldest sibling, she prepares meals for her younger siblings and sometimes does not have time herself to eat what has been prepared. Physical Exam: Ht = 5’6” Usual Wt = 108 lbs. Present Wt = 110 lbs. BMI = BP = 118/76 Blood glucose = 100 Shaleen’s pregnancy progresses without any problems until at 30 weeks her physician becomes concerned because her blood pressure has risen to 140/95, her blood glucose is 180, and she has gained 7 lbs. in two weeks. She is showing signs of generalized edema and she has protein and ketones in her urine. Her weight at this time is 118 lbs. Questions:

5) As a teenager, Shaleen is probably exposed to the peer pressure of alcohol consumption. What types of concerns should you make Shaleen aware of with alcohol intake during pregnancy? What is the recommendation for alcohol intake during pregnancy for any woman?

6) How could Shaleen best ensure adequate nutrition for her newborn? What arguments would you use in favor of this method when consulting with Shaleen?

In: Nursing

haleen: Pregnancy & Lactation Case Study (10 pts.) Instructions: This case study assignment should be treated...

haleen: Pregnancy & Lactation Case Study (10 pts.) Instructions: This case study assignment should be treated as a short paper, including a cover page, a heading, and page numbers. Set up the paper with one-inch margins, double-spacing, with the font set at 12-point Times New Roman. The introduction to the paper should summarize the case you have chosen to discuss. Responses to the case study questions should be written in paragraph form. Each paragraph in the case study should begin with an introductory statement that lets the reader know what topic you will be addressing in the paragraph. For example, if the case study question asks, “What nutrients are deficient in Shaleen’s diet, based on her current diet history?” You might start the discussion in this paragraph by indicating: “Shaleen has X nutritional deficiencies, based on her diet history. Her current diet consists of XXXXX. She is deficient in XXXXX.” The paragraph would continue with the explanation (or rationale) for your response: “According to Rolfe et al. (2012), a 16-year-old requires XXXXX. Because she is pregnant, she also XXXXX and so on. Scenario: Shaleen is a 16-year-old inner-city youth and high school student. She requests a pregnancy test at the Public Health Clinic. The pregnancy test is positive and she informs the clinic that her last menstrual period was 8 weeks ago. Previous History: Shaleen has had two previous pregnancies, one a stillbirth in which she gained 15 pounds and the baby weighed 4 pounds at term. The other ended due to a miscarriage at 9 weeks gestation and occurred 6 months ago. Her first pregnancy was at the age of 13. Social History: Lives at home with her mother and 5 siblings. Her mother provides the only income as a third shift waitress at a local 24-hour restaurant. The family receives $200 per month in food stamps. You speak with Shaleen at the Public Health Clinic after she receives the positive results of her pregnancy test. A brief diet and health history indicates the following information. She is a three-year smoker and is constantly concerned about her weight. Her diet consists mainly of diet cola, pizza, burgers, hot dogs, and convenience pasta dishes like Spaghetti-Os. She does get school lunch for free because of her family income level but rarely eats the fruits and vegetables or drinks the milk. Since Shaleen is the eldest sibling, she prepares meals for her younger siblings and sometimes does not have time herself to eat what has been prepared. Physical Exam: Ht = 5’6” Usual Wt = 108 lbs. Present Wt = 110 lbs. BMI = BP = 118/76 Blood glucose = 100 Shaleen’s pregnancy progresses without any problems until at 30 weeks her physician becomes concerned because her blood pressure has risen to 140/95, her blood glucose is 180, and she has gained 7 lbs. in two weeks. She is showing signs of generalized edema and she has protein and ketones in her urine. Her weight at this time is 118 lbs. Questions:

How would her caloric and nutrient needs change if she decided to breastfeed? What general dietary recommendations should be given to ensure that these nutrient changes are met?

If she decides to formula feed, how much should she offer and are there any cautionary points that she should be concerned about with this method of feeding? How does this food choice differ from breast milk?

In: Nursing

1. Keynes' approach to explaining the macroeconomy mathematically was to ____. describe the behavior of the...

1. Keynes' approach to explaining the macroeconomy mathematically was to ____.

describe the behavior of the economy at the individual level by using equations that described individual behavior

describe the economy by imagining an invisible hand that is beyond the control of humans

describe the behavior of the economy in the aggregate by using equations that described aggregate behavior

2. Neoclassical economics is the basis for much of modern MICROeconomics and tries to explain why individuals and firms in an economy make their decisions. Two of the major assumptions in neoclassical economics are that ____.

individuals purchase goods for the maximum amount that they would pay for those goods, and goods should be supplied by monopolists

governments maximize bureaucracy and firms maximize democracy

individuals maximize their utility (happiness) and firms maximize profits

corporations are more efficient than partnerships, and members of groups tend to do what's best for the group

3. One of the biggest intellectual evolutions in the development of macroeconomics in the 20th century was the melding of Keynesian concepts with the neoclassical MICROeconomics mentioned in the previous question. What was this union of ideas called?

the Austrian school of economics

taco Tuesday

the neoclassical synthesis

Keynesianism

the meeting of the minds

4. Paul Samuelson was an MIT professor who emphasized the importance of mathematical rigor when teaching macroeconomics and economics in general. In this way, he and others were extremely important in developing economic thought not just as a philosophical subject but as a science. He emphasized the importance of mathematical economics (the subfield of economics that involves all of the math used in economics) to the economist. What school of economic thought is he generally placed in?

New Keynesian

Post-Keynesian

Monetarist

Neo-Keynesian

5. The Neo-Keynesian economists were the mainstream economists in the 1950s and 1960s. They taught the Phillips curve. William Phillips originally observed the negative correlation of inflation and the unemployment rate, but Phillips himself did not propose that there was a particular relationship between inflation and unemployment. Which prominent monetarist proposed that the Phillips curve only held in the short run and could break down in the long run?

Adam Smith

John Maynard Keynes

Leon Walras

Milton Friedman

Tyler Perry

6. Monetarists subscribe to the quantity theory of money, which is variously stated as MV=PY or MV=PQ, where M is the amount of money in a country, V the rate at which money is turned over in an economy (i.e. how many times the same dollar is spent in a year), P prices and Y or Q the amount of real production or real income. One conclusion from this is that if V and Y (or Q) are constant, then any increase in the money supply just results in higher prices. Which 16th century Polish astronomer initially observed this phenomenon?

Isaac Newton

Johannes Kepler

Copernicus

Neil deGrasse Tyson

Galileo

7. Just as predicted, the Phillips Curve collapsed (the relationship between inflation and the unemployment rate changed after governments tried to develop policies to exploit that relationship - i.e. lowering unemployment by creating inflation). Economist Robert Lucas then wrote what later became known as the "Lucas critique," in which he stated that just because a aggregate relationship was observed to exist doesn't mean governments should create policy to exploit that relationship. This led to a revolution in macroeconomics that broke away from Neo-Keynesianism and sought to add microfoundations to macroeconomics. What are microfoundations?

assuming that governments are led by benevolent dictators that redistribute wealth in the most efficient manner possible

trying to write simple equations that explain macroeconomic behavior

ignoring the behaviors of individuals and assuming that everything unfolds according to an invisible hand

making sure the behaviors of agents in an economic system can be explained by sound microeconomics before aggregating their behavior to the macro level

In: Economics