This question was asked in Ex 14.3, 1
I didn't want n/2 in the median formula. Can you give some other easy formula. Because this formula confuses me. 
Tanuj Thakur's image