Transient response of oscillated carbon nanotubes with an internal and external damping