/EinsteinFieldEquations

This code is written with Mathematica 13.2 and improved by version 13.3. It will compute some key ingredients of standard general relativity.

Primary LanguageMathematica

EinsteinFieldEquations

This code is written with Mathematica 13.2 and improved by version 13.3. It will compute some key ingredients of standard general relativity. Using it is straightforward, you only need to input Coordinates, Metric Tensor, and Stress-Energy Tensor in the input section and after you run the entire notebook it will show

1 - Metric Tensor

2 - Inverse Metric Tensor

3 - Stress-Energy Tensor

4 - Christoffel symbols ( Second kind )

image

5 - Riemann curvature tensor

image

6 - Ricci tensor

image

7 - Scalar curvature

image

8 - Kretschmann scalar

image

9 - Einstein Field Equations

image

where

image

10 - Geodesic equations

image

Please make it better with your suggestions and comments.