Er Rough And Smooth Function