Calculating the Cosmos: How Mathematics Unveils the Universe