Rapid progress in modern computer industries now enables us to solve the Einstein equations numerically. In the first part of this paper we briefly review how to deal with those equations in relativistic astrophysics and cosmology. In the second part we introduce two examples-the Centrella and Wilson's cosmology and the Shapiro and Teukolsky's relativistic stellar cluster.