Questions
Write an error-free Java program to do the following things. Prompt the user to input a...

Write an error-free Java program to do the following things.

Prompt the user to input a set of numbers. The numbers represent hourly wages so they will be between 7.25 (peon) and 50 (big boss). The user should be able to input up to 35 numbers but if the user enters 0 then the data input ceases. All of the data that the user enters should be stored in a single array. You do not need to check the input data to see if it is in the proper range – assume the user will input correct data.

The program should calculate the average, the variance and the kurtosis of the numbers that were entered. The equation for the average is given in the book. The formula for the variance and the kurtosis (fourth centralized moment) is given by

Variance = SIGMA (xi-x(bar))^2/(n-1)

kurtosis = SIGMA ((xi-x(bar))^4/(n*var)^2) - 3

where xi are the individual numbers, n is the number of data points, var is the variance, and is the average of the sample. Kurtosis gives an indication of how “peaked” the data samples are relative to a normal (Gaussian) distribution.

The kurtosis must be calculated via a call to a method.

At the end, the program should repeat all of the numbers on one line and then print the average, variance, and kurtosis of the data sample.

MM§MEnter a data value (0 to quit)
¼¼§M10.5
MM§MEnter a data value (0 to quit)
¼¼§M48
MM§MEnter a data value (0 to quit)
¼¼§M8.25
MM§MEnter a data value (0 to quit)
¼¼§M8.50
MM§MEnter a data value (0 to quit)
¼¼§M20
MM§MEnter a data value (0 to quit)
¼¼§M0
MM§Msize = 5
MM§MThe data values are . . .
MM§M10.5 48.0 8.25 8.5 20.0
MM§MThe average is 19.05
MM§MThe variance is 285.0125
MM§MThe kurtosis is -1.1934395407885128


Remember to put the usual header at the top of the program and to submit via Canvas.

In: Computer Science

You are in charge of leading a meeting for the newest changes for the HEB you...

You are in charge of leading a meeting for the newest changes for the HEB you work at. The changes needing to be discussed are:

- The new soap dispensers for hands free washing,
- Changing the benefits and pay structures,
- The purchasing of 500 new carts, and
- Employee birthdays that month.

With your knowledge of conducting effective meetings a) generate an appropriate agenda for this meeting, explain why you chose this layout for topics, and describe how you would use your “Closing and Follow up” notes

In: Operations Management

Java language. Create the following Java command line iterator application Lab4. Pass in three arguments when...

Java language.

Create the following Java command line iterator application Lab4. Pass in three arguments when the program starts.

For example java Lab4 4 3 5

The command line arguments get passed into the main method as a String array in the variable object named args. Remember they get passed in as strings so you need to parse them into integers using the Integer.parseInt(args[X]) before you can treat them as integers. Create four sections that perform the following functions.

  1. Create a for loop iteration structure: loop the number of times of args[0] passed in, printing the counter value each time to the command line
  2. Create while loop iteration structure: loop the number of times of args[1] that was passed in, printing the counter value each time to the command line
  3. Create a do loop iteration structure: loop the number of times of args[2] that was passed in, printing the counter value each time to the command line
  4. Create a for each iteration structure to iterate through the args[] array printing the value in each element to the command line screen

In: Computer Science

Has mandatory sentencing laws reduced drug use and abuse? What has been the ultimate impact of...

Has mandatory sentencing laws reduced drug use and abuse? What has been the ultimate impact of these laws on society as whole? How is are mandatory minimum sentencing laws directly related to our current explosion in our prison population? When did private prisons begin to appear in our criminal justice system? How has the private prison corporations benefited from the war on drugs? What impact would more lenient drug laws have on our country’s prison population What impact would it have on the bottom dollar of the private prisons?

In: Psychology

Discuss three of the ten S-D logic premises with relevant examples of how each is applied...

Discuss three of the ten S-D logic premises with relevant examples of how each is applied in practice.

1. Service is the fundamental basis of exchange
2. Indirect exchange masks the fundamental basis of exchange
3. Goods are a distribution mechanism for service provision
4. Operant (vs Operational) resources are the fundamental source of competitive advantage
5. All economies are service economies

6. The customer is always a co creator of value
7. The enterprise cannot deliver value, but only offer value propositions
8. A service-centred view is inherently customer oriented and relational
9. All social and economic actors are resource integrators
10. Value is always uniquely determined by the beneficiary

In: Operations Management

discuss the role of paralegals with reference to the south african constitution

discuss the role of paralegals with reference to the south african constitution

In: Finance

[Design Pattern] Think of a scenario that can be solved using all of these 3 patterns...

[Design Pattern] Think of a scenario that can be solved using all of these 3 patterns - Strategy, Factory and Abstract Factory patterns.

1. Write the Scenario

2. Write the code for the 3 patterns

3. Create the UML diagram

In: Computer Science

What did you think of the issues surrounding mandatory minimum sentencing laws? How did we get...

What did you think of the issues surrounding mandatory minimum sentencing laws? How did we get here? Are they necessary? Is the intended reason for implementation working? Has society overall benefited from them? Are we safer today because of them? How has these laws led to an overcrowded court system? Do some research. When did the use of plea bargains by our state and federal court systems, begin to see an increase of use? What is the correlation of this increase to the war on drugs and the implementation of the mandatory minimum sentencing laws. What role has the War on Drugs played in implementing mandatory minimum sentencing laws?

In: Psychology

Asha is travelling to rural Texas to speak with shipping managers of a new bar-coding system...

Asha is travelling to rural Texas to speak with shipping managers of a new bar-coding system to track contents for deliveries. She will be speaking to managers who will then share the information with staff, and then she will move to the next shipping building. Asha is nervous and calls superior, you, and asks how she can help ensure her message is effective and taken positively.

Consider what you know about AIM analysis; provide insight on things Asha needs to consider when developing her message. Answers should be broken down as follows:

a) Suggestions on starting with “A”
b) How she can be effective with “I”
c) And considerations for “M”.
d) Finally, after your AIM analysis, explain which section you feel is the MOST SIGNIFICANT part of AIM (minimum three-sentence explanation).

In: Operations Management

Compare and contrast the current trends within OD. the subject is Trends in the Context Organization...

Compare and contrast the current trends within OD. the subject is Trends in the Context Organization Development.

In: Operations Management

Can Artificial Intelligence therapy robots reduce ADHD symptoms? We have all heard about MIT professor Dr....

Can Artificial Intelligence therapy robots reduce ADHD symptoms?

We have all heard about MIT professor Dr. Rosalind Picard's pioneering work on artificial intelligence and autistic kids, but no one has applied her research to kids with ADHD. Can AI robots play the role of therapy dogs and reduce the symptoms of ADHD? Or is this project a waste of time and that is why no one has looked into this so far?

Please cite your sources and give credit to people if you use articles from the New York Times or from a science journal, etc.

In: Psychology

Discuss the limitations / critiques against S-D logic and their relevance in today’s markets. Do you...

Discuss the limitations / critiques against S-D logic and their relevance in today’s markets. Do you think S-D logic can be universally applied to today’s markets? Why or Why not?

In: Operations Management

IN YOUR OWN TERMS: Based on the principles laid out Try to briefly describe a social...

IN YOUR OWN TERMS:

Based on the principles laid out Try to briefly describe a social issue, like public transportation or immigration, discrimination in the workplace or the cost of college, in a way that takes into consideration both the order and conflict views.

In: Psychology

In a chemical reaction, exactly 2 mol of substance A react to produce exactly 3 mol...

In a chemical reaction, exactly 2 mol of substance A react to produce exactly 3 mol of substance B.

2A->3B

How many molecules of substance B are produced when 29.7g of substance A reacts? The molar mass of substance A is 28.8 g/mol.

Step 1: Convert the mass of A to moles.

Step 2: Convert the number of moles of A to the number of moles of B.

Step 3: Convert the number of moles of B to molecules of B.

In: Chemistry

Gasoline stations located in close geographic proximity (e.g., across the street from one another) often charge...

Gasoline stations located in close geographic proximity (e.g., across the street from one another) often charge different prices for the same octane gasoline. Does this reality undermine the logic of competition, the market process, and the law of one price? If your answer is “yes”, explain why using economic reasoning. If your answer is “no”, provide three economic reasons why we might observe such price differentials.

In: Economics