This question was asked in Example 3
How to take height incase of irregular  class intervals if we want to find mean with step deviation  method
Arjun Hundal's image