document.write( "Question 1172923: Compute the median and mode of the following distribution
\n" ); document.write( "Marks 10-19 20-29 30-39 40-49 50-59
\n" ); document.write( "No. of students 5 25 40 20 10
\n" ); document.write( "

Algebra.Com's Answer #850797 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
**1. Median**\r
\n" ); document.write( "\n" ); document.write( "* **Find the cumulative frequency:**
\n" ); document.write( " * 10-19: 5
\n" ); document.write( " * 20-29: 5 + 25 = 30
\n" ); document.write( " * 30-39: 30 + 40 = 70
\n" ); document.write( " * 40-49: 70 + 20 = 90
\n" ); document.write( " * 50-59: 90 + 10 = 100\r
\n" ); document.write( "\n" ); document.write( "* **Identify the median class:**
\n" ); document.write( " * The total number of students is 100.
\n" ); document.write( " * The median is the value that divides the data into two equal halves, so we need the 50th value.
\n" ); document.write( " * The cumulative frequency that includes the 50th value is 70, which corresponds to the 30-39 class.\r
\n" ); document.write( "\n" ); document.write( "* **Calculate the median:**
\n" ); document.write( " * Median = L + [(N/2 - CF) / f] * h
\n" ); document.write( " * L = lower limit of the median class = 30
\n" ); document.write( " * N = total number of students = 100
\n" ); document.write( " * CF = cumulative frequency of the class before the median class = 30
\n" ); document.write( " * f = frequency of the median class = 40
\n" ); document.write( " * h = class width = 10
\n" ); document.write( " * Median = 30 + [(100/2 - 30) / 40] * 10
\n" ); document.write( " * Median = 30 + (20/40) * 10
\n" ); document.write( " * Median = 30 + 5
\n" ); document.write( " * **Median = 35**\r
\n" ); document.write( "\n" ); document.write( "**2. Mode**\r
\n" ); document.write( "\n" ); document.write( "* **Identify the modal class:**
\n" ); document.write( " * The modal class is the class with the highest frequency.
\n" ); document.write( " * In this case, the modal class is 30-39 with a frequency of 40.\r
\n" ); document.write( "\n" ); document.write( "* **Calculate the mode:**
\n" ); document.write( " * Mode = L + [(f1 - f0) / (2f1 - f0 - f2)] * h
\n" ); document.write( " * L = lower limit of the modal class = 30
\n" ); document.write( " * f1 = frequency of the modal class = 40
\n" ); document.write( " * f0 = frequency of the class before the modal class = 25
\n" ); document.write( " * f2 = frequency of the class after the modal class = 20
\n" ); document.write( " * h = class width = 10
\n" ); document.write( " * Mode = 30 + [(40 - 25) / (2 * 40 - 25 - 20)] * 10
\n" ); document.write( " * Mode = 30 + (15 / 35) * 10
\n" ); document.write( " * Mode = 30 + 4.29
\n" ); document.write( " * **Mode = 34.29**\r
\n" ); document.write( "\n" ); document.write( "**Therefore:**\r
\n" ); document.write( "\n" ); document.write( "* **Median = 35**
\n" ); document.write( "* **Mode = 34.29**
\n" ); document.write( "
\n" );