Text this: Stability of a compressed-tensioned rod of variable cross-section with combined loading