in mathematics , they had calculated the value of pi to within seven decimal places by the year 600 , while in astronomy , one of their most celebrated observations was that of the supernova , or stellar explosion , that took place in the crab nebula in 1054 .