Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implement a runnable Class called NumericAnalyzer. Heres the functional behavior that must be implemented. NumericAnalyzer will accept a list of 1 or more numbers as

Implement a runnable Class called NumericAnalyzer. Heres the functional behavior that must be implemented.

NumericAnalyzer will accept a list of 1 or more numbers as command line arguments. The provided list of numbers does not need to be ordered (although youll need to display the list of numbers sorted ascendingly).

NOTE: Dont prompt the user for input this is an exercise passing values to your program via the command line!

Error checking: if the user fails to pass in parameters, the program will display an error message (of your choice) and exit early.

The main() methods String [] args argument values must be converted and assigned to a numeric/integer array.

Your program will display the following information about the numbers provided by the user:

This list of numbers provided by the user sorted ascendingly.

The size of number list (the number of numbers!)

The average or mean value.

The median - the middle value of the set of numbers sorted. (Simple Algorithm: index = the length of the array divided by 2).

The min value.

The max value.

The sum

The range: the difference between the max and min

Variance: Subtract the mean from each value in the list. This gives you a measure of the distance of each value from the mean. Square each of these distances (and theyll all be positive values), add all of the squares together, and divide that sum by the number of values (that is, take the average of these squared values) .

Standard Deviation: is simply the square root of the variance.

Please in Java using eclipse

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

More Books

Students also viewed these Databases questions

Question

What is a cost-benefit analysis?

Answered: 1 week ago

Question

What are the companys strengths and competitive advantages?

Answered: 1 week ago

Question

=+2 Why did OBI create Centers of Excellence?

Answered: 1 week ago

Question

=+professionalism and competency in handling global HR issues?

Answered: 1 week ago