Three models are investigated in this paper, including the generalized nonlinear Schr€ odinger equation with distributed coefficients, the time-dependent-coefficient nonlinear Whitham-Broer-Kaup system and the fractional nonlinear vibration governing equation of an embedded single-wall carbon nanotube. With an analytical method, the aim of this paper is to exactly solve these models. As a result, some explicit and exact solutions which include hyperbolic function solutions, trigonometric function solutions and rational solutions are obtained. To gain more insights into the obtained exact solutions, dynamical evolutions with nonlinear vibrations of the amplitudes are simulated by selecting oscillation functions, noises, coefficient functions and fractional orders. It is graphically shown in the dynamical evolutions that the nonlinear vibrations of the amplitudes are influenced not only by the coefficient functions but also by the oscillation functions, noises and fractional orders.