computing periodic-solutions