Develop a detailed model the inverted pendulum system inMatLab/Simulink (a feedback compensator to stabilise and controlthe dynamics of a rotating inverted pendulum, as described inMicrochip Application Note AN964, “Software PID Control of anInverted Pendulum Using the PIC16F684” by Charais and Lourens.T)