Difference between analog and digital system