Assignment:
Derive the differential equation of motion for the inverted pendulum of Fig, where A cos cat represents a displacement excitation. Then assume small amplitudes and solve for the angle 0 as a function of time.

Provide complete and step by step solution for the question and show calculations and use formulas.