I need to make a java app that computes and prints mean and standard deviation for a list of integers x1 through xn. If anyone can help out, point me in the right direction even, that would be awesome, I get intimidated by these math problems when it comes to programming.
N will be inputed by the user
Ints should be randomly generated, stored in an array
Mean and std dev should be floating points
mean = (E(i = 1, n) x(i)) / n
E(i = 1, n) x(i) is read as the summation from i equals 1 to n of x subscript i
sd = sqrt((E(i = 1, n) (x(i) - mean) ^ 2) / (n - 1))