{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw5_solution_2008

# hw5_solution_2008 - ME 17 APPLIED NUMERICAL METHODS...

This preview shows pages 1–5. Sign up to view the full content.

ME 17, APPLIED NUMERICAL METHODS SOLUTION HOMEWORK 5 TA: GAURAV SONI Problem1: Part A: The data set for this problem represents final scores of ME151C class from Spring 2008. The matlab code is attached for finding the mean, the median and the standard deviation. Following are the answers: Mean = 75.2994 Median = 76.0566 Standard Deviation = 8.0199 Part B: The mean score was subtracted from the data. The histograms of this data were created using different numbers of bin. Following figures show these histograms. When number of bins is only 2, the histogram does not reveal much information about the shape of the data distribution. For higher number of bin (5 and 10), the histogram shows a smooth shape of the distribution. For very high number of bins (i.e. 20), the discreteness of the data is revealed. In other words, some of the bins remain completely empty. Histogram with 2 bins -25 -20 -15 -10 -5 0 5 10 15 20 0 10 20 30 40 50 60 70 xd frequency

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Histogram with 5 bins -25 -20 -15 -10 -5 0 5 10 15 20 0 5 10 15 20 25 30 35 40 xd frequency Histogram with 10 bins -25 -20 -15 -10 -5 0 5 10 15 20 0 2 4 6 8 10 12 14 16 18 20 xd frequency