# Using a computer to calculate Einstein tensor etc.

I'm wondering if there are any good programs to calculate the various tensors that one needs to solve the Einstein field equations for a very general metric i.e. metric components are not specified explicitly, only their functional dependence on the coordinates

e.g.

$$ds^2=-n^2(\tau,y)d\tau^2 + a^2(\tau, y)\delta_{ij}dx^idx^j$$

and things that look like that.

I have Maple and Mathematica, if there are any packages for those programs that deal with stuff like this.

Thanks!

Last edited:

robphy
Homework Helper
Gold Member
ds^2=-n^2(\tau,y)d\tau^2 + a^2(\tau, y)\delta_{ij}dx^idx^j

snip..

P.S. How can I make the Latex code appear correctly rendered?

enclose in [tex ] [/tex ] tags (no spaces in each tag!)
$$ds^2=-n^2(\tau,y)d\tau^2 + a^2(\tau, y)\delta_{ij}dx^idx^j$$
click on the rendered equations to see.

Try http://grtensor.phy.queensu.ca/