Exactly solved model of a one dimensional self gravitating system (Journal of Astrophysics and Astronomy, 2026)