Matlab Ball on Beam

we have found the nonlinear equation of motion. The method of
control design and analysis that we have learned in this class can only be
applied to a linear system for that we need to linearize the system, however,
the scope of this class does not cover the method of linearization of a
nonlinear system therefore I will give you the equation after linearization.