Text this: Stability of difference analogue of linear mathematical inverted pendulum