Skip to content
Worked Examples · Example 5.1

Q.Assume that height (in cm) of students in a class are as follows [90,102,110,115,85,90,100,110,110]. Mean or average height of the class is

Punjab PsebTextbookSubjective· 2mImportance★★★★★
5% · 1/20 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The arithmetic mean is the single most common measure of central tendency: add every value, divide by how many values there are. Here the nine heights add to 912, so the mean is 912/9 ≈ 101.33 cm.

The idea

The mean answers: "if every student were the same height, what would that height be?" It balances the data — values above it exactly offset values below it.

Formula: mean = (sum of all observations) / (number of observations)

Step-by-step calculation

StepWorkingResult
1. List the data90, 102, 110, 115, 85, 90, 100, 110, 110n = 9 values
2. Add them90+102+110+115+85+90+100+110+110912
3. Divide by n912 / 9101.333…

So the mean height ≈ 101.33 cm (to two decimal places). Note that no student is actually 101.33 cm tall — the mean is a summary, not necessarily an observed value.

Doing it in Python

The statistics module (part of the standard library) does this in one call:

import statistics

heights = [90, 102, 110, 115, 85, 90, 100, 110, 110]
mean_height = statistics.mean(heights)
print(round(mean_height, 2))
101.33
``` …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.