Still in progress ... more files will be added over time.

This page contains some Mathematica files which can be used to compute the various tensors of importance in General Relativity. The software Mathematica is needed to run these files.

Chapter 1

Here we show that the manifold of prize question (Exercise 1.18) is indeed flat and also show that the final result gives the desired metric → Prize question

Chapter 3

In this file we are deriving the Schwarzschild solution using Mathematica, standard spherical coordinates are used → Schwarzschild solution
Schwarzschild solution in isotropic coordinates → Schwarzschild (isotropic)

Chapter 4

Here we are computing the basic quantities of the FLRW metric working in Cartesian coordinates. The energy-momentum conservation equation is also computed in two different ways → FLRW metric I