The median is not found by (H-L)/2+L. Read that Wikipedia entry again.
Disproof: 1, 1, 2, 10, 101. The median of this list is 2, not 51.
Disproof: 1, 1, 2, 10, 101. The median of this list is 2, not 51.
I really did read it, but I managed to take it to mean the midpoint of the range, all evidence to the contrary. It seems I tripped on the words "middle value", which is ambiguous.