You should check out the Foundation novels by Isaac Asimov, they're based on this question of the scientific prediction of the future. They call it Psychohistory, and use it to successfully predict the fall of civilization while also trying to use it to shorten the period of reconstruction. They're absolutely mind boggling!