While it is hard to predict the future precisely, underlying rules do exist in nature.
We may not be able to create a perfect program to predict nature, but we can use math to understand it better.
Chaos theory helps predict the weather and understand the economic trends.