The given formula represents the formula to find the mean by assumed mean method.
Here, di = where xi is the ith observation and a is assumed mean.
So, di's are the deviation from a of mid-points of the classes.
Hence, the correct answer is option (c).