Find variance for following data:
Class
0 - 10
10 - 20
20 - 30
30 - 40
40 - 50
50 - 60
60 - 70
70 - 80
frequency
5
8
7
12
28
20
10