Periodic solutions ofdynamical systems with Newtonian type potential