Classfc.f.Mid−mark x|x−M|f|x−M|0−10181851934210−20163415914420−3015492511530−401261351113240−501071452121050−60576553115560−7027865418270−802807551102801182
N2=40
Median class is 20-30
∴ l = 20, N=80, C=34, f=15, h=10.
Median=l+(N2−Cf)×h
=20+40−3415×10
=20+615×10
=24
Mean deviation about M==∑ni=1fi|xi−M|N=119280=14.775.