Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!