# Using a computer to calculate Einstein tensor etc.

1. May 18, 2009

### Mosis

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: May 18, 2009
2. May 18, 2009

### robphy

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/

3. May 18, 2009

### George Jones

Staff Emeritus
4. May 22, 2009