On Z-transform and Its Applications