Dynamics of machines with variable mass. (2021)