Dynamics of an axially functionally graded beam under axial load