38, 46, 29, 35, x, 50
Median is 40
Find x.
29, 35, 38, x , 46, 50
(38+x)/2 = 40
38 + x = 80
x= 42
http://en.wikipedia.org/wiki/Standard_deviation
it's a very good start by looking at the wiki. I've found the answer already, how about you?