![]() , nm.Īnd here's my program that i've written, and i have no idea if i'm even close. , (nm - a)2, where a is the average of the numbers n1, n2. , nm is defined as the square root of the average of the following numbers: The standard deviation of a list of numbers n1, n2. ![]() Use the doubleValue( ) method in the Number class to retrieve the value of each number as a double. Add a method named standardDeviation that takes an ArrayList of type T and returns as a double the standard deviation of the values in the ArrayList. Write a generic class, MyStatisticsClass, with a type parameter T where T is a numeric object type (e.g., Integer, Double, or any class that extends ). I have a couple problems that I don't know what to do with. Well, I got an assignment due this morning, so i guess ill end up turning it in a day late eh.
0 Comments
Leave a Reply. |