\(\begin{array}{c|c}height & 2 & 3 & 4 & 5 & 6 \\ \hline frequency & 2 & 4 & 5 & 3 & 1
\end{array}\)
The table shows the distribution of the height of plants in a nursery. Calculate the mean height of the plants.

A.

3.8

B.

3.0

C.

2.8

D.

2.3

Correct answer is A

\(\begin{array}{c|c} height(x) & frequency(f) & fx \\ \hline 2 & 2 & 4\\ 3 & 4 & 12\\ 4 & 5 & 20 \\ 5 & 3 & 15\\ 6 & 1 & 6\end{array}\)

mean\(\bar{x} = \frac{\sum fx}{\sum f}\)

= \(\frac{57}{15}\)

= 3.8