Sensex mirrors changes in economy over 30 years