In Java Your Software Company Has Been Requested To Provide A Prototype Program Perf 2743171

IN JAVA

your software company has been requested to provide a prototype program performing the simple statistical evaluations. You will need to implement a main program that reads the values into the array (or you could write another method to read them in), then call each of the various methods that you will convert from your previous programming project. The following methods comprise the StatPackage.

The function specifications are as follows:

Your StatPackage will accept up to 500 values as input.

Numerical values will be printed with two significant digits to the right of the decimal point.

The program will contain the following functions:

static double calcMean (int scores [], count) calculates the mean value for the values stored in the array scores mean is essentially the same as the average.

static double calcMedian (int scores [], count) calculates the median value for the values stored in the array scores median is the is middle value of the stored values.

static double calcVariance (int scores [], count) calculates the variance value for the values stored in the array scores Variance is determined by the formula:

the sum of the square of the values / count – square of the sum of the values / square of the count

static double calcStdDev (double variance) calculates the standard deviation value for the values stored in the array scores. Standard deviation is the square root of the variance.

Prof. Angela

4.6/5

Calculate Price


Price (USD)
$
Open chat