The routine scalet first checks for a bouncing universe. The routine then starts calculating a discrete version of eq. 10 which is given in Felten & Issaman [2]:
where the starting point is R0 = 1. The coefficient for
is given by eq. 10 and the coefficient for
can easily be calculated by differentiating eq. 10. The results are:
![]() |
= | ![]() |
(14) |
![]() |
= | ![]() |
(15) |
The routine scalet makes a difference between negative and positive values for t. For positive values, eq. 13 is used, for negative values the second term on the righthandside of eq. 13 is subtracted from the first term on the right handside. This makes the function also usable for calculating scale factors from t values which range from some negative value to some positive value.