#"the first step is to arrange the data in "color(blue)"ascending order"#
#2,color(white)(x)4,color(white)(x)color(magenta)(5),color(white)(x)6,color(white)(x)6,color(white)(x)color(red)(uarr)color(white)(x)8,color(white)(x)10,color(white)(x)color(magenta)(10),color(white)(x)12,color(white)(x)16#
#"locate the "color(red)"median" " which is at the midpoint of"#
#"the data set"#
#"in this case located between 6 and 8"#
#rArrcolor(red)"median (Q_2)"=(6+8)/2=7#
#"in a similar way the "color(magenta)"upper/lower quartiles"#
#"are located at the midpoints of the data to the left and right"# of the median.
#color(magenta)"lower quartile ( Q_1)"=5#
#color(magenta)"upper quartile ( Q_3)"=10#
#"interquartile range "=Q_3-Q_1#
#color(white)(xxxxxxxxxxxxxx)=10-5=5#