This paper presents a general methodology to study the dynamical behavior of vehicles: the equations of motion are obtained using Lagrange's equation and the elasticity of structural elements are considered. Symbolic computation is used to handle long energy equations. The equations of motion are integrated using traditional numerical algorithms. The dynamical behavior of the vehicle can be improved using optimization techniques. In this paper the design of a simple vehicle model is optimized.