Devam Ediyor

Help with a simple java program.

All I need done is project 19.1 Statistics.

L.A.19.1 - Statistics page 10 of 11

Background:

Your instructor will provide you with a text file, ([url removed, login to view]), containing a large (N <= 1000) number of integers. The integers range in value from 0 to 100. The text file has been created with one value on each line. Due to the potential for the sum of the numbers to be very large, you should use a long integer in your calculation to find the average.

The number of integers in the file is unknown. You must read the text file until the EOF marker is encountered.

Your program must find the average, standard deviation, and mode of the list of numbers. The mode is defined as the value(s) present with the highest frequency. Calculating the standard deviation consists of the following steps:

Find the average of the list of numbers.

Determine the difference of each number from the average, and square each difference. Sum all the differences.

Divide this sum by (the number of values - 1).

Take the square root of the above division problem from step c.

Example, given this list of numbers: 7 4 5 9 10

The average = 7

Sum of square of differences:

(7 - 7)2 + (4 - 7)2 + (5 - 7)2 + (9 - 7)2 + (10 - 7)2

0 + 9 + 4 + 4 + 9 = 26

26/(5 - 1) = 6.50

sqrt(6.50) = 2.55

For a normal distribution, 68.3% of the data will lie within one standard deviation of the average, while 95.4% will lie within two standard deviations.

Assignment:

Your program should print out the average, standard deviation, and mode of the data in numbers.txt. Format the real numbers to print with 2 decimal places.

Your program must utilize proper modular design and parameter passing.

Turn in your source code and run output.

Here are the numbers: 10

84

39

93

34

14

11

33

88

83

28

97

75

49

32

69

80

95

48

19

33

85

48

20

48

Beceriler: PHP, Yazılım Mimarisi

Daha fazlasını görün: statistics architecture, real numbers integers, real integers, need help with statistics, modular design, integers real numbers, integer real number, integer and real number, help with java code, example of assignment problem, assignment problem example, architecture statistics, architecture design on line, program design architecture, statistics and calculation, simple java project, java assignment software, eof, find average numbers, simple design assignment, java program simple, need simple java program, java list large, php text differences, php read large file

İşveren Hakkında:
( 1 değerlendirme ) Chevy Chase, United States

Proje NO: #6549749

Seçilen:

vano101

Hello. It looks as easy assignment, it is possible to complete it in few hours .....................

1 gün içinde 10$ USD
(445 Değerlendirme)
6.6

5 freelancer bu iş için ortalamada 34$ teklif veriyor

dobreiiita

A proposal has not yet been provided

1 gün içinde 100$ USD
(75 Değerlendirme)
6.0
urmate

Contact me for an efficient, perfect, well documented development of your project according to 100% accuracy and requirements, with dedicated support. Thanks

1 gün içinde 20$ USD
(76 Değerlendirme)
5.9
manhpham

Hi there, I have 8 years experience in Software development. I am expert at .NET, Java technologies, Mobile development, Ecommerce: .NET: Window forms, MVC/ASP.NET, WCF, LINQ Java: Liferay, Jav Daha fazlası

1 gün içinde 25$ USD
(17 Değerlendirme)
3.8
pstoimenovski

I can make this program very fast in C. it will work perfectly. I have Computer Engineering Bachelor Degree

1 gün içinde 15$ USD
(0 Değerlendirme)
0.0