Computer simulations have become a useful part of mathematical modeling of many natural systems in physics ( computational physics ) , astrophysics , chemistry and biology , human systems in economics , psychology , social science , and engineering .
They are used in many ways including in astronomy , economics and sciences such as physics and biology .