L + (n/2 - F)/f * w, where L is the lower boundary of the class containing the median, n is the total number of values, F is the cumulative frequency of the intervals before the one containing the median, f is the frequency of the median class interval, and w is the width of the median class interval