<p><a href="https://www.prepswift.com/quizzes/quiz/prepswift-range" target="_blank">Range Exercise</a></p><p>This'll be a quick one. <strong><span style="color:#8e44ad;">The Range</span></strong> is simple.</p>
<p><strong><span style="color:#e74c3c;">How To Calculate</span></strong></p>
<p>In a dataset, simply find subtract the lowest number from the highest. That's the range.</p>
<p><span style="font-size:22px;">$$range = greatest - least$$</span></p>
<p><strong><span style="color:#27ae60;">Example</span></strong></p>
<p>In a dataset consisting of the first $10$ prime numbers, what is the range?</p>
<p style="margin-left: 40px;"><strong><u>Step 1</u></strong>: List out the first $10$ prime numbers.</p>
<p>$$2, 3, 5, 7, 11, 13, 17, 19, 23, 29$$</p>
<p style="margin-left: 40px;"><strong><u>Step 2</u></strong>: Find the difference between the lowest and highest numbers.</p>
<p>$$29 - 2 = 27$$</p>
<p><strong><span style="color:#e74c3c;">NOTE</span></strong>: If all values in a dataset are equal to each other, the range is $0$.</p>