Text this: Modeling and controller design for an inverted pendulum system