Ability Analysis of a Linear Quadratic Regulator for Optimal Control of a Dynamical System