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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started