Calculation of Orbital Period