Here, the classes are not in inclusive form So, we first convert them in inclusive form by subtracting h/2 from the lower limit and adding h/2 to the upper limit of each ,where h is the difference between the lower limit of a class and the limit of preceding class.

Now, we have