The applications of the partial Hamiltonian approach to mechanics and other areas