The current article presents the use of the virtual bat optimization algorithm, for solving Duhamel's Integral in dynamic systems with one degree of freedom.Some situations are solved, as a demonstrative example, calculating global maxima.The results found were comparable (both, in precision and in accuracy) to those achieved with other calculation approaches.In a similar fashion, acceloremeter data of a Chilean seism ( 2010) was used to calculate the dynamic response and its maximum displacement.In all cases, the number of virtual bats were varied, noting an influence over the run time.