Title: Optimization of a simple dynamic model of a railroad car under random and sinusoidal inputs