This document provides a step-by-step guide on designing a controller for the ROTPEN kit to stabilize an inverted pendulum. It includes an introduction to the system, the aim of the project, and detailed instructions on building the Simulink model. The document also covers linearization of the system, full-state feedback, and MATLAB commands for control system design. It concludes with a discussion on the behavior of the inverted pendulum model and impulse input to the system.