This is a simulation of a solid propellant rocket . The situations is a straight accent and descent , that means angle of launch is perpendicular to the surface and acceleration due to gravity is assumed constant throughout.
and I'll soon add rest of description, too busy with studies rn.