Text this: State feedback via judicious pole placement and linear quadratic regulator - Application to rotary inverted pendulum