Dynamic systems are characterized by governing differential equations with state and input trajectories. In our lab, we study dynamic systems arising out of models of robots, manipulators, mobile vehicles, and others. The performance of such systems can be optimized using classical methods from optimal control and numerical methods to achieve computational efficiency. We have used the underlying structures of governing dynamic equations to solve these optimization problems for real-time applications in robotics.