rod of variable cross-section